[Python.NET] ipython

Tribble, Brett btribble at ea.com
Mon Apr 13 19:41:59 CEST 2009

In theory it should work, but I haven't tried it myself. It certainly works from the interactive Python "shell" in Maya. Copy clr.pyd and python.runtime.dll into a directory that is part of IPython's %pythonpath% and also part of the system path %path%. Load the clr with the "import clr" statement, and you should be good to go. I have noticed that when invoked this way, Maya's native version of Python "forgets" how to load subsequent .pyd modules. It appears that the clr intercepts these import statements and fails to handle them correctly. I have resolved this by simply loading all .pyd modules I think I'll need before loading the clr.

From: pythondotnet-bounces+btribble=maxis.com at python.org [mailto:pythondotnet-bounces+btribble=maxis.com at python.org] On Behalf Of Kapil fadnis
Sent: Monday, April 13, 2009 10:05 AM
To: Michael Foord
Cc: pythondotnet at python.org
Subject: Re: [Python.NET] ipython

I dont know how to ? I run the Python.net console from the Python.net directory and it invokes the Python.exe console which calls the regular python mode. Is there a another way to run Python.net?
Thanks for the quick response.
On Mon, Apr 13, 2009 at 1:00 PM, Michael Foord <fuzzyman at voidspace.org.uk<mailto:fuzzyman at voidspace.org.uk>> wrote:
Kapil fadnis wrote:
Is is possible to use ipython shell with python.net<http://python.net/> <http://python.net<http://python.net/>> ? please let me know how to do so ?
Have you tried it? What happens?

Thanks for your help.

Python.NET mailing list - PythonDotNet at python.org<mailto:PythonDotNet at python.org>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20090413/34343084/attachment-0001.htm>

More information about the PythonDotNet mailing list