path

richard_chamberlain richard_chamberlain at ntlworld.com
Tue Jul 11 19:15:49 EDT 2000


Hi David,

By path what do you mean? If you want to change the current working
directory then the following will do what you want:

import os
print os.getcwd() # displays current directory
os.chdir('c:\\windows\\desktop')

Richard
David L. Heald Jr. <blinocac1 at home.com> wrote in message
news:3pNa5.17986$6y5.14385230 at news2.rdc2.tx.home.com...
> This may seem ike a dumb question, but how do I change the path in
> pythonwin?
>
>





More information about the Python-list mailing list