How to find the present working directory using python.

Isaac Rodriguez isaac.rodriguez at comcast.net
Fri May 4 08:53:10 EDT 2007


> how to find out the present working directory using python.
>

Try this:

import os
os.getcwd()

It returns the current working directory.

Thanks,

- Isaac.




More information about the Python-list mailing list