Python preprosessor

Peter Otten __peter__ at web.de
Sun Jun 7 12:55:48 EDT 2009


Tuomas Vesterinen wrote:

> I am developing a Python application as a Python2.x and Python3.0
> version. A common code base would make the work easier. So I thought to
> try a preprosessor. GNU cpp handles this kind of code correct:

> Any other suggestions?

http://docs.python.org/dev/3.1/library/2to3.html





More information about the Python-list mailing list