<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br><font size=2 face="sans-serif"><br>
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).</font>
<br>
<br><font size=2 face="sans-serif">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 </font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">Any help will be more than welcome!!!</font>
<br><font size=2><br>
</font><font size=3>Suzanne</font>
<table><tr><td bgcolor=#ffffff><font color=#000000>----------------------------------------------------------------------------------------<br>
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.<br>
</font></td></tr></table>