(Hopefully) simple IDLE question

Joonas Paalasmaa joonas at olen.to
Sat Mar 2 05:25:41 EST 2002


"Seth Jones" <sjones16 at rochester.rr.com> wrote in message news:<slWf8.19790$V15.3283629 at typhoon.nyroc.rr.com>...
> 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.

IDLEfork should handle the working directory correctly.

See http://idlefork.sourceforge.net/



More information about the Python-list mailing list