[IronPython] PythonEngine.RunFile

Tim Riley riltim at gmail.com
Thu Aug 10 23:17:07 CEST 2006


I've tested that and I don't think it works with:

if __name___ == "__main__":

in the python script.

Regards,
Tim Riley

On 8/10/06, Martin Maly <Martin.Maly at microsoft.com> wrote:
>
>   Think PythonEngine.ExecuteFile may work for you.
>
>
>
> *From:* users-bounces at lists.ironpython.com [mailto:
> users-bounces at lists.ironpython.com] *On Behalf Of *Tim Riley
> *Sent:* Thursday, August 10, 2006 1:01 PM
> *To:* Discussion of IronPython
> *Subject:* [IronPython] PythonEngine.RunFile
>
>
>
> In IP version 0.9 there was a PythonEngine.RunFile() method, this seems to
> be gone in 1.0.6. Is there a replacement?
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060810/7ed7d48d/attachment.html>


More information about the Ironpython-users mailing list