John Salerno wrote: > Kent Johnson wrote: > >>The working directory must be wrong. Try calling Python directly with >>full paths: >> >>C:\Python24\pythonw C:\Python24\Lib\idlelib\idle.pyw -r C:\path\to\myprog.py > > > Perfect! Thank you so much! > > I put this line in the command line field, and I left "working > directory" empty because I'm not sure what goes there. Should it be the > main python directory, or the directory of the file being run? Either > way, it seems to work without a working directory.
Great! I would set the working directory to the dir containing your program. That way if you have multiple modules in the program you will be able to import them without any trouble. Kent -- http://mail.python.org/mailman/listinfo/python-list