We don't support compiled Python modules (PYD's or PYC's, I'm not sure which one pywin32 is though I'd bet PYD) and isn't anything we'll support before 1.0. But if it's access to Win32 you want, there's a large
amount of Win32 exposed through the .NET APIs that you can access directly by importing the appropriate namespaces (and adding references to the appropriate assemblies if it's not mscorlib or System).
That may or may not work for you depending on what your goals are.
From: [EMAIL PROTECTED] On Behalf Of Mike Raath Sent: Tuesday, June 27, 2006 10:21 PM To: users@lists.ironpython.com Subject: [IronPython] "no module named win32api" using PyWin32-208 I posted this on the comp.lang.python
list yesterday but am not sure if that is the correct list to have posted on, so apologies for the cross-post but I would really appreciate some help on this.
I have Python 2.4 installed on my local machine in c:\Python24. I have
Trying to run a python script through a C# console app is causing me
m_engine = new PythonEngine();
m_engine.AddToPath("C:\\Python24\\DLLs");
m_engine.AddToPath("C:\\Python24\\Lib\\site-packages\\pythonwin");
m_engine.AddToPath("C:\\Python24\\lib\\site-packages\\win32");
m_engine.AddToPath("C:\\Python24\\lib\\site-packages\\win32\\lib");
m_engine.Execute("from win32api import win32api");
I have added all the addtopaths to get the path to match the sys.path I
Incidentally, I have tried making the last line
Can the win32 extensions handle compiled python modules? If not how can
Mike |
_______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com