[Tutor] Getting Running File's Name

2006-01-30 Thread Bryan Carbonnell
Can Python return the name of the current file's name? In other works, if I am running a Python file (MyPythonFile.py) is there a function that will return 'MyPythonFile.py'? This will be used in Linux if that matters. Thanks -- Bryan Carbonnell - [EMAIL PROTECTED] Warning: da

Re: [Tutor] Getting Running File's Name

2006-01-31 Thread Bryan Carbonnell
re, Wim/Hans, Thank you both. It worked perfectly. -- Bryan Carbonnell - [EMAIL PROTECTED] If you lend someone $20, and never see that person again, it was probably worth it. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor