RE: Commercial Products in Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Delaney, Timothy (Tim)

    RE: Commercial Products in Python

    Paulo J. Matos wrote:
    Another option that we've used in the past was to write the "sensitive"
    bits in Pyrex/Cython. These get compiled to executable code (a .pyd/DLL
    on Windows, .so on Unix-like systems). They are tied to the (major)
    version of Python of course.

    You can of course write the entire program like this, then either use
    py2exe to give a stub .exe, or just use python -m. Chances are pretty
    good that you will only need minimal changes to your python code to make
    it work.

    As a side benefit, some things get a speedup ;)

    Tim Delaney
Working...