How to find the present working directory using python.

pradeep nair deepns7 at gmail.com
Fri May 4 03:07:06 EDT 2007


On May 4, 12:05 pm, SamG <mad.vi... at gmail.com> wrote:
> 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()



Thank u...




More information about the Python-list mailing list