[Python-Dev] Handling of sys.args (Re: User's complaints)
Fredrik Lundh
fredrik at pythonware.com
Fri Jul 14 10:55:32 CEST 2006
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)
</F>
More information about the Python-Dev
mailing list