<br><br><div class="gmail_quote">On Dec 12, 2007 9:01 PM, Keith Dart ♂ &lt;<a href="mailto:keith@dartworks.biz">keith@dartworks.biz</a>&gt; 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">&gt; If I execfile(&#39;abc.py&#39;)<br>&gt;<br>&gt; And abc.py calls function tellme().<br>&gt; Is there a global or a way to pass to tellme() the filename being
<br>&gt; execfile()&#39;d?<br>&gt;<br>&gt; Let me know if this is not clear.<br><br></div>===<br><br>Are you new to Python? It&#39;s actually rare that you would have to use<br>execfile. Can you use a module?</blockquote>
<div><br>It&#39;s not my code.. It&#39;s badly written python code I need to reverse engineer and replace.<br>:)<br>I&#39;ll create a sample and email tomorrow.<br><br>Thanks for all the suggestions. I&#39;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> &nbsp; Keith Dart &lt;<a href="mailto:keith@dartworks.biz">keith@dartworks.biz</a>&gt;<br> &nbsp; public key: ID: 19017044<br> &nbsp; &lt;<a href="http://www.dartworks.biz/" target="_blank">http://www.dartworks.biz/</a>&gt;<br> &nbsp; =====================================================================
<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>