(Hopefully) simple IDLE question

Seth Jones sjones16 at rochester.rr.com
Fri Mar 1 20:58:48 EST 2002


Hi all,

Is there any way to set the current working directory for a file being used
in IDLE? I simply want to open a file that is in the same directory as my
script, which I've opened into the
idle window, and I don't want to hard-code the full path of the file.
Failing that, is there any alternative in Windows 95 to the normal command
line? I ask, since the reason I'm using IDLE in the first place is to avoid
calling my script from the horribly unsatisfying DOS prompt. Failing even
that, is there a better way to get error output from a .pyw file than to
catch all exceptions and write them to a file?

A google search did lead me to an old mailing-list post about adding the
option for setting
current directories in IDLE, but apparently that hasn't been done yet.


I hope someone can convey some wisdom to this poor soul who's still stuck on
win95.
Thanks in advance for any advice.

Keith (not Seth) Jones   (^ :





More information about the Python-list mailing list