I have a Source code in C, I want to write it in Python. I have .so
library files for my C code, is it possible to change .so
files to .py
lib files for execution?
If so, how can I execute my python files? I mean in order to run C in python, we use something like below:
gcc -shared -I/usr/include/python2.3/ -lpython2.3 -o myModule.so myModule.c
So is there is something like this to execute my python files or can I just use import command to execute?