Hi,
I have a very simple question that I cannot find the answer to ... if I
knew the correct question to ask it would be simple.
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).
I want to know where my errors are occurring so if I print out the name of
the file (or script) when it starts that should help me
I have tried os.listpath os.path and get lists of files and directories
but no matter how much searching (through Python help and Dive into
python) I cannot figure out how to find the current file name.
Any help will be more than welcome!!!
Suzanne
----------------------------------------------------------------------------------------
This e-mail may contain confidential or privileged information. If you have
received it in error, please notify the sender immediately via return e-mail
and then delete the original e-mail. EnergyAustralia has collected your
business contact details for dealing with you in your business capacity. More
information about how we handle your personal information, including your right
of access is contained at http://www.energy.com.au.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor