python-for-developers icon indicating copy to clipboard operation
python-for-developers copied to clipboard

Should upgrade to Python 3.x

Open mmoser18 opened this issue 5 years ago • 1 comments

Most pages don't work with Python 3.x (v3.7 in my case). Reason is mostly that print is now a function and not a statement anymore, plus a few other subtle differences (standard functions that have been moved or removed etc.). Not sure, whether it's possible to create a version that runs under both Python versions, but upgrading this tutorial such that it runs under the newer seems desirable.

mmoser18 avatar May 19 '19 09:05 mmoser18

Thank you for opening this issue. Actually, all of the examples included in this book version works only with Python 2.x (it is an old book).

There is a Python 3.x version of this book but it is only a printed version and it was written in Brazilian Portuguese.

When the editor rights expire, maybe we'll publish this book online.

ricardoduarte avatar May 29 '19 13:05 ricardoduarte