473,770 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Forum

Python programming language - Ask questions about python interpreter, control flow, data structures, modules errors, classes, standard library, gui, databases, unit testing, object oriented, structured programming and more.
37
17,082
thread by: Grzegorz Staniak | last post Jul 18 '05 by: Bengt Richter
Hello, I'm a newbie Python user, a systems administrator - I've been trying to switch from Perl to Python for administrative tasks - and one thing I cannot understand so far is why I need the special 'self' (or anything esle) argument in class method definitions. I might have missed an explanation in the docs, a quick Google search did not...
1
1,320
thread by: Gerrit Muller | last post Jul 18 '05 by: Steve Holden
At <http://www.arctecgroup.net/030905.htm> the move of Guido is brought to the attention of the broader enterprise and IT world: > Stay Tuned for Security Improvements > A development that went unnoticed by major IT media which may turn out to > have positive and broad implications for security and development occurred > at Elemental...
0
1,165
thread by: dermoon | last post Jul 18 '05 by: dermoon
Hi! I want to fetch the address-string from the web-browser visiting a page on my apache-server (not using access-log). ex. "http://some-server/mydocument.html" To fetch the document name I used os.environ on my linux-system. Now I am using a Win2000 machine and I would like to fetch the whole
0
1,292
thread by: Pieter Claassen | last post Jul 18 '05 by: Pieter Claassen
I am developing an app that pulls loads of 3rd party python libraries/code in. The problem is that I don't want to require potential buyers to struggle to get the software going: Problems might be: 1. Packaging system that they use to pull applications onto their machine does not have the right modules. 2. They now have to run and maintain...
6
5,815
thread by: vald | last post Jul 18 '05 by: дамјан г.
I wonder if there is any module for rendering True Type Fonts in Python ? I need to create a GIF files with nice antialiased text and I'm unable to find any module with such functionality. Sincerely, K.
2
1,828
thread by: John Max Skaller | last post Jul 18 '05 by: Duncan Booth
please reply to skaller@ozemail.com.au (I don't read this newsgroup, and the reply-to address is fake) For some time now -- over 5 years -- I have been using the interscript literate programming and document generation tool http://interscript.sourceforge.net for all my programming tasks, both commercial and personal.
0
1,297
thread by: edgar c | last post Jul 18 '05 by: edgar c
Hi there, I have a problem that I'll describe bellow and is quite difficult to solve it because I'm new to python. I hope I'll get some answers here that will allow me to perform my task... The idea is that I have to perform some unit tests using python for an application that are using web services. All the available methods are in...
5
1,914
thread by: neeson | last post Jul 18 '05 by: Duncan Booth
Alright, I'm fairly new to Python, and this one has got me stumped. I've just started to write a cli program that'll use readline, and I've attached the relevant bits. Here's the mystery: If I so much as /look/ at the list 'matches', readline stops working. Run the program, hit tab at the prompt, you'll get 'one', which is incorrect, as...
0
2,300
thread by: Bill Loren | last post Jul 18 '05 by: Bill Loren
Hi, Upon running my program via the command line I get the above error. Weirder is the fact that upon running the same code from within ActiveState's PythonWin's IDE - I get no error and the code smoothly completes its running. any idea ? thx
1
1,738
thread by: Bob | last post Jul 18 '05 by: Martin v. Löwis
I've read over section 3.14.5.2 of the doc about a zillion times, and it still makes absolutely no sense to me. Can someone please explain it? What I'd like to do is, basically, have the object be pickled as None, since it represents an object in the C world, and it doesn't make sense to pickle it at all. How can I do that, if at all? ...
2
3,842
thread by: Stuart D. Gathman | last post Jul 18 '05 by: Stuart D. Gathman
When I call resource.getrusage on Linux, I don't get any memory stats: Python 2.2.2 (#1, Jan 30 2003, 21:26:22) on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from resource import getrusage,RUSAGE_SELF >>> print getrusage(RUSAGE_SELF) (0.019531, 0.0078119999999999995, 0, 0, 0, 0, 178, 387, 0, 0, 0, 0,...
2
1,376
thread by: Anand | last post Jul 18 '05 by: Anand
I have a C extension to a dll function. static PyObject *_wrap_SetTxCommandRegister(PyObject *self, PyObject *args) { PyObject *resultobj; int arg1 ; int arg2 ; int arg3 ; char *arg4 = (char *)"Python" ; err result;
0
1,527
thread by: John Hunter | last post Jul 18 '05 by: John Hunter
hashtar is a utility designed for encrypted archiving to media vulnerable to corruption (eg, CDR, DVDR). http://nitace.bsd.uchicago.edu:8080/hashtar Comments, bug reports, suggestions for improvement all welcome. John Hunter OVERVIEW
3
9,344
thread by: Mike Zupan | last post Jul 18 '05 by: John Hunter
I have a list that includes files and directories ie: list = I want to sort it so it looks like this I'm just wondering if there is an easy way to do this
0
1,320
thread by: Russell E. Owen | last post Jul 18 '05 by: Russell E. Owen
I have a Python/Tkinter remote control application and want to add support for running user scripts. I would like the scripts to be written in python, would like them to be able to update Tkinter widgets and (the hard part) would also like them to be capable of pausing until some condition is met (e.g. a remote control command finishes)...
1
1,717
thread by: Richard Townsend | last post Jul 18 '05 by: Richard Townsend
Is there a known problem with images on disabled buttons on Tk8.4.4 ? If I create a button widget using a bitmap as the image and make the button disabled, not all of the image becomes stippled. The 3 left hand columns of pixels and the bottom 3 rows of pixels are left unchanged. This is most obvious if you use a black square as the bitmap....
0
2,092
thread by: Phil Schmidt | last post Jul 18 '05 by: Phil Schmidt
I'm attempting to follow the instructions at http://sebsauvage.net/python/mingw.html, without luck. I have Python 2.3, MinGW 3.2.3, ans SWIG 1.3.19. I get an export error on "initexample" when attempting the example. Do I need some extra switches to get SWIG to create that function? Or is it something else? Here's my example build:
2
5,798
thread by: Jörg Maier | last post Jul 18 '05 by: Jörg Maier
Hey guys, i have a big problem using Tkinter and pexpect in cygwin. i try to program an winscp-like rsync Program for all posix Platforms (linux, macosx, cygwin). i got a class SslConnection with a method listDirectory that gives back a list of an remote directory using pexpect. this method works in linux, it works in cygwin-python from...
14
1,968
thread by: Tim Parkin | last post Jul 18 '05 by: Dave Kuhlman
Terry Ready said: > YUCK< YUCK< YUCK. > <snip> > The pollenation site is one of the worst I have seen. The mockup page > has teeny type that IE will not enlarge. > <snip> > I care that the site remain physically readable and that it remain a > vehicle for information rather than childish egos. > <snip> > Using IE6, I need a magnifying...
1
444
thread by: Andy | last post Jul 18 '05 by: Terry Reedy
This is not a post it is a test - please ignore
1
1,688
thread by: Y2KYZFR1 | last post Jul 18 '05 by: Gerhard Häring
I have searched and only found references to using ODBC or some ancient posts about some ancient sybase library under linux, neither of which meets my critiera. I need something that will cross platform without any of these dependancies? Does it exist?
3
5,116
thread by: Marcelo A. Camelo | last post Jul 18 '05 by: Aahz
Hi! I will be presenting Python to an audience of game developers, mostly C/C++ programmers. In my presentation I will talk about using python and C/C++ extension instead of pure C/C++ to write commercial games and content creation tools. In a number of times I have presented these ideas to this same kind of audience and they were...
8
3,720
thread by: Max M | last post Jul 18 '05 by: darrell
Yesterday there was an article on Slashdot: http://books.slashdot.org/article.pl?sid=03/09/04/1415210&mode=flat&tid=108&tid=126&tid=156 It is about automatic code generation. I got interrested in the subject, did a web search, and it seems kind of powerfull. My main interrest is web development in Zope/CMF/Plone, where there is a lot...
3
4,067
thread by: Mark Hahn | last post Jul 18 '05 by: Syver Enstad
Can someone point me in the right direction to tell windows to run the default email application, create a new message, and let me populate it with subject, body, and attachments? I've been studying win32com.client and I think I could use it for a specific application like outlook, but I need it to work for any app such as Eudora.
4
1,639
thread by: hostmaster | last post Jul 18 '05 by: Martin v. Löwis
Hi, I'm quite new to Python and I am reading this book called 'Core Python Programming' by Wesley J. Chun. I think that this is not a new book but I believe some of the points are still valid. There is this part in the book where it says: "In Python, standard types are not classes, so creating integers and strings does not involve...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.