[IronPython] Calling python script from c#
Michael Niemaz
michael.niemaz at xrce.xerox.com
Wed Nov 29 10:00:23 CET 2006
Thank you Vagmi. I'll have a look at python.net.
--mike
On Wed, 2006-11-29 at 14:25 +0530, Vagmi Mudumbai wrote:
> This might be a long shot but you can try python.net
> (http://pythonnet.sf.net). It can work with both .NET assemblies and C
> extensions. I am not sure how stable it is and I do not see much
> activity in this front. Unline IronPython, Python.NET is not a
> complete implementation of Python in the managed world. Instead, it
> exists as a bridge between the CPython and the Managed world. You can
> infact embed Python code into the managed code.
> (http://pythonnet.sourceforge.net/readme.html#embedding)
>
> Regards,
> Vagmi
>
>
>
> http://installneo.blogspot.com
>
> "Peace is its own reward." - Mahatma Gandhi
> On 11/29/06, Michael Niemaz <michael.niemaz at xrce.xerox.com> wrote:
> Thanx guys.
>
> Just to recap: I can not load/run my python scripts because it
> uses a 'C
> extension module'. Am I correct?
>
> So there is no way that I will be able to run this script as
> is without
> changing the xml bit.
>
> How would you proceed to 'change the xml part'?
>
> Thanx,
>
> --mike
>
> On Wed, 2006-11-29 at 09:51 +0900, Sanghyeon Seo wrote:
> > 2006/11/29, Dino Viehland <dinov at exchange.microsoft.com>:
> > > Is libxml2 a pyd? If so we currently don't support
> importing pyd's (it would require matching CPython's extension
> interface). Instead you might be able to use the .NET XML
> libraries as a work around.
> >
> > Yes, Python binding of libxml2 is a C extension module.
> >
> > PS. I greatly prefer "C extension module" over "pyd", since
> C
> > extension modules do not have pyd extension on platforms
> other than
> > Windows.
> >
>
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>
> --
>
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list