Re: [IronPython] PythonEngine.RunFile

2006-08-11 Thread Tim Riley
aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038) From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Martin Maly Sent: Thursday, August 10, 2006 3:06 PM To: Discussion of IronPython Subject: Re: [IronPython] PythonEngine.RunFile You can try the PythonEngine.CreateOptimizedMo

[IronPython] PythonEngine.RunFile

2006-08-10 Thread Tim Riley
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@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] PythonEngine.RunFile

2006-08-10 Thread Martin Maly
Think PythonEngine.ExecuteFile may work for you. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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

Re: [IronPython] PythonEngine.RunFile

2006-08-10 Thread Martin Maly
To: Discussion of IronPython Subject: Re: [IronPython] PythonEngine.RunFile 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 [EMAIL PROTECTED] wrote: Think PythonEngine.ExecuteFile may work for you