Please follow the advice I gave to Manfred in this thread
https://groups.google.com/forum/?fromgroups#!topic/spyderlib/hID2tHGW57w This is something we plan to fix for 2.2 HTH, Carlos El 22/02/12 15:02, lcorrigan escribió:
I'm using Python(x,y) 2.7.2.1 on Windows 7 and XP. I have a package I've created called loadrack, which has a series of RF lab equipment .dll's written in C# .NET 2.0. I use the Python .NET package with these, to use them within python (not IronPython). My top level package adds the paths to all the sub-package folders (including loadrack, where the .dlls and clr/python .NET stuff is located. So far, I'm able to import the top level package and 'see' all the members in all levels of the classes from the top down from within Pythonwin and IPython consoles, but not from within Spyder. I've upgraded my pythonxy to the latest Spyder but to no avail. The key to my structure and linkage to .NET classes, is the clr import call that the loadrack package makes, and uses to add references in the clr to all the .dll's. Ex: In IPython Console: In [5]: import testlib In [6]: testlib.loadrack.pm_agU2000A.Calibrate() #; It 'see's all the way down to the object's available methods. From Spyder editor, the furthest I can get is: import testlib testlib.loadrack.pm_agU2000A. #; It doesn't show any levels deeper / no calls into the actual lib. An interesting point, is that normally from IPython, I'm able to see higher level testlib.clr module, but Spyder editor doesn't show the clr item. Pythonwin for editing seems to get me what I need, but there are so many other cool features of Spyder that I couldn't resist looking into this deeper. Any ideas why Spyder doesn't see the clr or anything that the clr item makes calls into? I've not found how Pythonwin magically does it all....
-- You received this message because you are subscribed to the Google Groups "spyder" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.
