sys.argv[0] - Returns path and filename.
Alistair Thomas
astavale at yahoo.co.uk
Thu Jun 27 13:48:26 EDT 2002
More information about the Python-list mailing list
Thu Jun 27 13:48:26 EDT 2002
- Previous message (by thread): sys.argv[0] - Returns path and filename.
- Next message (by thread): sys.argv[0] - Returns path and filename.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <c07d0edc.0206270432.faf1fd3 at posting.google.com>, "Guy" <guy at lightwork.co.uk> wrote: > How do I get the current path of the script I am running, on the mac osx > and the linux box ? Does sys.path[0] make any difference? -- Alistair
- Previous message (by thread): sys.argv[0] - Returns path and filename.
- Next message (by thread): sys.argv[0] - Returns path and filename.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list