Python Net with Python Tools

Jul 29, 2011 at 12:31 AM

Python Net provides a clr class that allows you to reference .net assemblies from standard python and talk to them as python modules. 

Will the intellisense engine in Python tools be able to pick up these referenced assemblies and show the classes in intellisense?

Do I need to add something to my search path or will I be forced to use IronPython if I want to get intellisense for my .NET assemblies?

Editor
Jul 29, 2011 at 4:51 AM

I think the answer to this is "no, the analyzer won't be able to pick up the referenced assemblies", based on what I understand of their implementation (the classes and types are more or less dynamically generated at runtime).  However, the REPL window should be able to give you Intellisense, because it inspects the runtime state dynamically. (The editor window Intellisense is a purely static database.)

However, I was unsuccessful at verifying my suspicion because the python.exe distributed by PythonNet crashes when I try to start it up.

If you try it out, please let us know what you find!