The file executing

Justin Ezequiel justin.mailinglists at gmail.com
Mon Jul 2 22:47:08 EDT 2007


On Jul 3, 9:40 am, Benjamin <musiccomposit... at gmail.com> wrote:
> How does one get the path to the file currently executing (not the
> cwd). Thank you

os.path.dirname(sys.argv[0])




More information about the Python-list mailing list