[Python-Dev] Handling of sys.args (Re: User's complaints) (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Fri Jul 14 10:55:32 CEST 2006
- Previous message: [Python-Dev] Handling of sys.args (Re: User's complaints)
- Next message: [Python-Dev] Handling of sys.args (Re: User's complaints)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Maclaren wrote:
I don't think that applies to the Python args[] though, since its args[0] isn't the path of the OS-level executable, it's the path of the main Python script. Oh, yes, it does! The file descriptor or inode number could refer to the script just as well as it could to the interpreter binary.
(insert sound of head hitting desk here)
- Previous message: [Python-Dev] Handling of sys.args (Re: User's complaints)
- Next message: [Python-Dev] Handling of sys.args (Re: User's complaints)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]