Re: How do I get the current path of my python file that is currently running.

2007-08-23 Thread rasmus
On Aug 23, 3:33 am, Arnau Sanchez <[EMAIL PROTECTED]> wrote: > Lamonte Harris escribió: > > > Say I start i click on a python file on my desktop, how could I return > > the path of the current python file thats running? > > http://docs.python.org/lib/module-sys.html Try this: import sys import os

Re: How do I get the current path of my python file that is currently running.

2007-08-23 Thread Arnau Sanchez
Lamonte Harris escribió: > Say I start i click on a python file on my desktop, how could I return > the path of the current python file thats running? http://docs.python.org/lib/module-sys.html -- http://mail.python.org/mailman/listinfo/python-list