[Tutor] A few Questions

Adam Cripps kabads at gmail.com
Fri Sep 3 23:10:56 CEST 2004


----- Original Message -----
From: Ali Polatel <alipolatel at yahoo.com>
Date: Fri, 3 Sep 2004 13:32:02 -0700 (PDT)
Subject: [Tutor] A few Questions
To: tutor at python.org


 Dear Tutors and Friends, 
 Here are a few questions to test your knowledge :) 
 1.What command makes the python programme print out the file it is in? 
 I mean for example if it is saved in c:\windows\system what command
gives me this

This would be stored in the variable sys.argv[0]

HTH 
Adam
--
proj: http://jiletters.sf.net
site: http://www.monkeez.org
wiki: http://wiki.monkeez.org


More information about the Tutor mailing list