Weave is probably what you really want to do, although it doesn't do what you said: http://wiki.python.org/moin/weave Pyrex actually does what you said: http://wiki.python.org/moin/Pyrex
On Wed, Mar 19, 2008 at 7:52 PM, Dinesh B Vadhia <[EMAIL PROTECTED]> 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 > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > > -- Michael Langford Phone: 404-386-0495 Consulting: http://www.RowdyLabs.com _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor