Are you trying to use wingapi in an interactive shell? It's not available there because it requires a running copy of Wing and the shell runs in a separate process.
Try saving your script externally then Edit -> Reload Scripts. I have found Wingware to be. a bit rough around the edges. I got it to work, but soon after changed to another IDE. Good Luck. From: python_inside_maya@googlegroups.com [mailto:python_inside_m...@googlegroups.com] On Behalf Of Subbu.Add Sent: Sunday, February 07, 2010 4:42 PM To: python_inside_maya@googlegroups.com Subject: [Maya-Python] How to import some new python module in Wing Hi, Any one is using Wing IDE for Maya purpose. Mr. Eric helped me up to some extent to send commands from Wing to Maya. But I couldn't import wingapi module. Which is supplied along Wing IDE pro (Trail version) Actual problem is there are some other modules like 'editor' are available in the installation folder. But I couldn't use those with >>> import wingapi >>> import editor etc. I have tried sys.path.append to the path showing to the above two modules. But still it is not working. I have followed this below link. But still it is not helping fully. http://mayamel.tiddlyspot.com/#[[How%20can%20I%20have%20Wing%20send%20Python %20or%20mel%20code%20to%20Maya%3F]] I have sent mail to help desk also at wingware.net If this trial version works properly, we are planning to go for wing IDE for production purpose. Thanks, Subbu -- http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya