Linux application in python

S

sundarashiv

Hi all ,

I have a linux application that needs 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 .

WORST IDEA : Recode the entire application in Python . ..looking for
ideas better than mine


Shiv Shankar
 
C

Carsten Haese

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,285
Messages
2,571,415
Members
48,107
Latest member
jigyasauniversity

Latest Threads

Top