There is a library (and script) called 2to3 that automates code translation from Python 2 to 3. I wouldn&#x27;t rely on it for my own projects, but I have seen a number of authors use it successfully (e.g. write their app in Python 2 and tell users it is compatible with automatic translation).<p>If you&#x27;re on 2.7.x, you can certainly import in quite of the newer features. There are also some resources for writing 2&#x2F;3 compatible code, such as the six library and <a href="http:&#x2F;&#x2F;python-future.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;python-future.org&#x2F;</a>. It is no problem for fairly trivial applications, but I don&#x27;t envy anyone who has to ensure 2&#x2F;3 compat for a large project.