Linux application in python

Carsten Haese carsten at uniqsys.com
Wed Feb 15 15:16:53 EST 2006


On Wed, 2006-02-15 at 15:02, sundarashiv at gmail.com wrote:
> Hi all ,
> 
> I have a linux application that needs to run on a python interpreter

Why does it "need to" run "on" a python interpreter?

> .So what is the best way to have the same functionalities provided by
> "C" to be implemented in python .

1) Rewrite the functionality in python.
2) Separate the functionality into a library and write a python
extension to call into the library (or use ctypes to call into the
library without writing an extension module)

Better solutions may become apparent once you provide more details about
your needs.

-Carsten





More information about the Python-list mailing list