[Tutor] Getting the directory the program is in

Christopher Arndt chris.arndt at web.de
Mon Dec 11 19:49:35 CET 2006


Christopher Arndt schrieb:
> Of course you have to do this before you (or some other code in your program)
> do anything siilar to os.chris('/somewhere/else').
                           ^^^^^
That was some freudian slip of my narcissistic mind *LOL*

Of course, I mean:

os.chdir('/somewhere/else')


Chris


More information about the Tutor mailing list