[Cython] What to do with modules
Kevin Ar18
kevinar18 at hotmail.com
Tue Oct 7 03:30:46 CEST 2008
>> So I essentially need to merge several hundred lines of module code
>> into one file. :(
>
> Probably not, that depends on what you're trying to do. Sage has
> hundreds of .pyx and .py files that all work with each other.
A summary:
I have a project split among several pyx files/modules.
I want to convert as many vars, functions, and classes to Cython as I can (this will leave a mix of Cython and Python).
I need to be able to import my Cython and Python mixed modules and then access the Cython vars, functions, and classes directly (as well as the Python ones).
I don't know how to do this unless I...
1. Keep Python vars, functions, and classes in the modules that I can call, since I can't call Cython stuff (this is not a good option, since I want to convert as much to Cython as I can)
2. merge all modules into one file
_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
More information about the Cython-dev
mailing list