The file executing

Benjamin musiccomposition at
Tue Jul 3 15:47:01 CEST 2007

On Jul 2, 9:47 pm, Justin Ezequiel <justin.mailingli... at>
> On Jul 3, 9:40 am, Benjamin <musiccomposit... at> wrote:
> > How does one get the path to the file currently executing (not the
> > cwd). Thank you
> os.path.dirname(sys.argv[0])
The returns the file that was called first, but not the one currently

More information about the Python-list mailing list