2

With py2exe, I can turn python code into an execute program for windows. Now I want to turn my code into a window DLL, so that other programs can call my function. How Can I do it?

truease.com
  • 1,261
  • 2
  • 17
  • 30
  • Possible duplicate http://stackoverflow.com/questions/550446/py2exe-to-generate-dlls – John Dec 09 '12 at 09:25

2 Answers2

0

You can convert your .py to .dll by using shedskin.

http://code.google.com/p/shedskin/

I believe the command to make it a dll is

shedskin -e 
0

You can create a .dll ≈ .pyd by adapting your code to Cython