<br><br><div class="gmail_quote">On Dec 12, 2007 9:01 PM, Keith Dart ♂ <<a href="mailto:keith@dartworks.biz">keith@dartworks.biz</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
William Deegan wrote the following on 2007-12-12 at 16:10 PST:<br>===<br><div class="Ih2E3d">> If I execfile('abc.py')<br>><br>> And abc.py calls function tellme().<br>> Is there a global or a way to pass to tellme() the filename being
<br>> execfile()'d?<br>><br>> Let me know if this is not clear.<br><br></div>===<br><br>Are you new to Python? It's actually rare that you would have to use<br>execfile. Can you use a module?</blockquote>
<div><br>It's not my code.. It's badly written python code I need to reverse engineer and replace.<br>:)<br>I'll create a sample and email tomorrow.<br><br>Thanks for all the suggestions. I've not had a chance to try them as yet, but will tomorrow.
<br><br>_Bill <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><font color="#888888"><br><br><br>--<br>-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<br> Keith Dart <<a href="mailto:keith@dartworks.biz">keith@dartworks.biz</a>><br> public key: ID: 19017044<br> <<a href="http://www.dartworks.biz/" target="_blank">http://www.dartworks.biz/</a>><br> =====================================================================
<br></font><div><div></div><div class="Wj3C7c"><br>_______________________________________________<br>Baypiggies mailing list<br><a href="mailto:Baypiggies@python.org">Baypiggies@python.org</a><br>To change your subscription options or unsubscribe:
<br><a href="http://mail.python.org/mailman/listinfo/baypiggies" target="_blank">http://mail.python.org/mailman/listinfo/baypiggies</a><br></div></div></blockquote></div><br>