How to find the present working directory using python.

SamG mad.vijay at gmail.com
Fri May 4 03:05:52 EDT 2007


On May 4, 12:03 pm, pradeep nair <deep... at gmail.com> wrote:
> how to find out the present working directory using python.
>
>         os.system('pwd') works good. But i need some specific one in
> python rather than embedding shell command into python.


os.path.getcwd()




More information about the Python-list mailing list