Mailing List Archive

Novice: how to set/get current directory?
I can't figure out how to set or get the current working directory. Can
someone point me to the correct documentation, module, method...

Chuck

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Novice: how to set/get current directory? [ In reply to ]
[cmedcoff@my-dejanews.com]
> I can't figure out how to set or get the current working directory

os.chdir(newdir)
os.getcwd()

try-to-dream-up-a-witty-comment-about-that!-ly y'rs - tim