os.path.dirname(sys.argv[0]) always returns nothing
happykid
psyking841 at gmail.com
Mon Aug 1 13:38:07 EDT 2011
More information about the Python-list mailing list
Mon Aug 1 13:38:07 EDT 2011
- Previous message (by thread): Complex sort on big files
- Next message (by thread): os.path.dirname(sys.argv[0]) always returns nothing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I want to use this function to get the directory path of the running script, but it always returns empty string. Can anyone help me solve this? Thank you.
- Previous message (by thread): Complex sort on big files
- Next message (by thread): os.path.dirname(sys.argv[0]) always returns nothing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list