[Python.NET] System.IO.FileNotFoundException: Unable to find assembly 'MbtCom.dll'.

2009-04-13 Thread kfadnis
Hi All, I know this is a very basic question, but despite all my efforts I haven't been able to load a third-party dll into python. I can find the dll using clr.FindAssembly("MbtCom"). I also append the required path to the sys.path, but it refuses to show up. Is there something obvious I am missin

Re: [Python.NET] ipython

2009-04-13 Thread Tribble, Brett
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" statem

Re: [Python.NET] ipython

2009-04-13 Thread kfadnis
Thanks Brett. Yes, it works. The way I did it and Michael Foord pointed me to it, is to start python and then run import IPython IPython.Shell.IPShell().mainloop(sys_exit=1) or create a bat file with this cmd @"YOUR PYTHONNET DIR\python.exe" "C:\Python25\scripts\ipython.py" %* On Mon, Apr 13,

Re: [Python.NET] ipython

2009-04-13 Thread Kapil fadnis
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 wrote: > Kapil fadnis

Re: [Python.NET] ipython

2009-04-13 Thread Michael Foord
Kapil fadnis wrote: Hi, Is is possible to use ipython shell with python.net ? please let me know how to do so ? Have you tried it? What happens? Michael Thanks for your help. _

[Python.NET] ipython

2009-04-13 Thread Kapil fadnis
Hi, Is is possible to use ipython shell with python.net ? please let me know how to do so ? Thanks for your help. _ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet