I've tested that and I don't think it works with:<br><br>if __name___ == &quot;__main__&quot;:<br><br>in the python script.<br><br>Regards,<br>Tim Riley<br><br><div><span class="gmail_quote">On 8/10/06, <b class="gmail_sendername">
Martin Maly</b> &lt;<a href="mailto:Martin.Maly@microsoft.com">Martin.Maly@microsoft.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 10pt; color: navy;">&nbsp;Think PythonEngine.ExecuteFile may work for you.</span></p>

<p><span style="font-size: 10pt; color: navy;">&nbsp;</span></p>

<div style="border-style: solid none none; border-color: rgb(145, 192, 255) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 9pt;">From:</span></b><span style="font-size: 9pt;">
<a href="mailto:users-bounces@lists.ironpython.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">users-bounces@lists.ironpython.com</a> [mailto:<a href="mailto:users-bounces@lists.ironpython.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
users-bounces@lists.ironpython.com</a>] <b>On
Behalf Of </b>Tim Riley<br>
<b>Sent:</b> Thursday, August 10, 2006 1:01 PM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> [IronPython] PythonEngine.RunFile</span></p>

</div></div><div><span class="q">

<p>&nbsp;</p>

<p>In IP version 0.9 there was a PythonEngine.RunFile() method,
this seems to be gone in 1.0.6. Is there a replacement? </p>

</span></div><div></div>

</div>



</div><br>_______________________________________________<br>users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:users@lists.ironpython.com">users@lists.ironpython.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br><br><br></blockquote></div><br>