hg wrote: > Hi, > > Is there an easy way for a script being executed (from anywhere) to know > where is is ... something in os.path ? > > Thanks, > > hg
oops: os.path.abspath(sys.argv[0]) hg -- http://mail.python.org/mailman/listinfo/python-list
hg wrote: > Hi, > > Is there an easy way for a script being executed (from anywhere) to know > where is is ... something in os.path ? > > Thanks, > > hg
oops: os.path.abspath(sys.argv[0]) hg -- http://mail.python.org/mailman/listinfo/python-list