Re: How to create a file on users XP desktop

2007-10-07 Thread Craig Howard
On Oct 6, 2007, at 11:31 PM, goldtech wrote: Can anyone link me or explain the following: I open a file in a python script. I want the new file's location to be on the user's desktop in a Windows XP environment. fileHandle = open (., 'w' ) what I guess I'm looking for is an

Re: unit testing

2007-10-05 Thread Craig Howard
On Oct 4, 2007, at 3:02 PM, brad wrote: Does anyone else feel that unittesting is too much work? Not in general, just the official unittest module for small to medium sized projects? It seems easier to write some quick methods that are used when needed rather than building a program with

Single-stepping through a python script

2007-07-17 Thread Craig Howard
Hello All: Is is possible to compile a code object and single-step through its execution? Craig -- http://mail.python.org/mailman/listinfo/python-list

Single-stepping through a python script

2007-07-17 Thread Craig Howard
Craig Howard schrieb: Hello All: Is is possible to compile a code object and single-step through its execution? import pdb; pdb.set_trace() Look up the pdb module documentation. Diez Sorry, I didn't give enough detail. Is it possible to single-step through a code object without