[Tutor] Getting Running File's Name

Bryan Carbonnell carbonnb at sympatico.ca
Wed Feb 1 01:24:36 CET 2006


On 31 Jan 2006 at 9:17, Rinzwind wrote:

> Why would that be any different under Linux?
> 
> sys.argv[0]

> On 1/31/06, Hans Dushanthakumar <Hans.Dushanthakumar at navman.com> wrote:
> > Under WinXP, the variable
> > sys.argv[0] holds the script file name (including the path). Not sure,

Wim/Hans,

Thank you both. It worked perfectly.


-- 
Bryan Carbonnell - carbonnb at sympatico.ca
If you lend someone $20, and never see that person again, it was 
probably worth it. 




More information about the Tutor mailing list