Programming in Python with a view to extending in C at a later date.

dug.armadale at dug.armadale at
Mon Apr 20 20:57:29 CEST 2009


Say you set out to program in Python knowing that you will be
converting parts of it into C ( or maybe C++) at a later date, but you
do not know which parts.

Can you give any general Python structure / syntax advice that if
implemented from the start, will make this future task less painful.
In addition, advice that will make this easier for automatic tools
will be good too.

This advice might include stuff like "avoid using Python yield
as ...."

Thank you in advance,


More information about the Python-list mailing list