/usr/share/python-ase/doc/development/py3k.rst is in python-ase-doc 3.9.1.4567-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | Python 3 strategy
=================
* One codebase for both 2 and 3.
* Use ``print(...)`` and add this line as the fist line::
from __future__ import print_function
* Don't do this: ``print >> f, ...``. Use ``f.write(... + '\n')`` or
``print(..., file=f)``.
* More help here: http://packages.python.org/six/
|