Hello, C to Python ( .c -> .py)?

aboufer at atlsci.com aboufer at atlsci.com
Sat Apr 14 11:46:11 EDT 2001


Hi Stephan,

Why not create wrappers to the functions that are already in you C code.
You'll end up with .pyd or .so libraries which can afterwards be
imported in your python interpreter.

Ahmed

Stephan Koerner wrote:

> Hello,
>
>   I have been using a home grown scripting utility which, in essence,
>   is a 'C' interpreter (Subset of ANSI C).  I would like to move away
>   from this utility in favor of using Python.
>
>   To complete this task I wish to convert the legacy 'C' based
>   scripts to .py files.  Has anyone tried converting 'C' to
>   Python?
>
> Any comments would be appreciated
>
> thanks, Stephan
> --




More information about the Python-list mailing list