[Tutor] A simple Question...

John Fouhy john at fouhy.net
Tue Oct 2 04:00:09 CEST 2007


On 02/10/2007, Suzanne Peel <speel at energy.com.au> wrote:
>  I am trying to find the name of the file I am currently running (please don't laugh at me I know it's simple but I cannot figure it out).

Have a look at sys.argv[0] :-)

-- 
John.


More information about the Tutor mailing list