4 ms·
As someone interested in learning Python, does it mean I dont have to worry about version 2.x? Do I just skip any book or tutorial containing that version?
by throw8769758 6y ago
As someone interested in learning Python, does it mean I dont have to worry about version 2.x? Do I just skip any book or tutorial containing that version?
- deleted 6y ago[deleted]
- airstrike 6y agoYes. Start from the latest stable and don't look back You can use tools like six to port python 2 to python 3 which should cover 90% of the code in small scripts
- seabrookmx 6y agoYes
- amluto 6y agoYes. Unless you specifically need to work on legacy code, start with Python 3. IMO you should consider simultaneously learning mypy and Python type annotations. Python with some typing is a vast improvement.
- hprotagonist 6y agoinstall 3.8 and go without fear
- heavyset_go 6y agoNo, you don't need to worry about it. Do ask about it in interviews, though. There are still Python 2.7 apps running in production, and there's a good chance that companies are looking upgrade their code to Python 3. If you're interested, this document[1] is a good resource should you want to port from 2.7 to 3. [1] https://docs.python.org/3/howto/pyporting.html https://docs.python.org/3/howto/pyporting.html