[IronPython] [python] Win32pipe, win32File, Win32api

Michael Foord fuzzyman at voidspace.org.uk
Wed Dec 12 12:04:58 CET 2007

Kaveripakam, Sathish wrote:
> HI All,
> I am trying to port python code to the .NET environment using iron python.
> In my existing python code, I have calls to the WIn applications:
> import win32pipe
> import win32File
> import Win32api

Those modules are C extensions compiled for CPython. To run the code 
with IronPython you will have to replace those modules with .NET 


> When I try to execute the above code, it complains "No module named 
> win32xxx". In my system append path, I have also given link to pick 
> the libraries from the "../IPCE-r7/Lib"  (i.e python stub for 
> ironpython). But it didnt help me much.
> Could anyone let me know, how to handle the win32xxx imports for iron 
> python ?
> Regards
> ------------------------------------------------------------------------
> _Legal Notice:_
> The information in this electronic transmission may contain 
> confidential or legally privileged information and is intended solely 
> for the individual(s) named above. If you are not an intended 
> recipient or an authorized agent, you are hereby notified that 
> reading, distributing, or otherwise disseminating, copying or taking 
> any action based on the contents of this transmission is strictly 
> prohibited. Any unauthorized interception of this transmission is 
> illegal under law. If you have received this transmission in error, 
> please notify the sender by telephone [at the number indicated 
> above/on +41 58 928 0101] as soon as possible and then destroy all 
> copies of this transmission. 
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

More information about the Ironpython-users mailing list