On Wednesday 19 March 2008 18:52, Dinesh B Vadhia wrote:
> Say because of performance, you might want to re-write/convert Python code
> to C++.  What is the best way (or best practice) to do this wrt the tools
> available?
>
> Dinesh

You also might want to use some profiling tools, or skip that step if it's 
known, and simply rewrite the slowest parts.  It isn't too hard to integrate 
Python with C code, there are tutorials in the bundled documentation (also 
available on the Python website).

http://docs.python.org/ext/ext.html

Cheers
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to