Should you stick with Python 2 or migrate to Python 3?

preview_player
Показать описание

Should you stick with Python 2 or migrate to Python 3? In this video I'll share some of my thoughts on this topic.

We'll discuss what to do with Python 2.x libraries that are not compatible with Python 3.x, what you should focus your learning on to grow your Python career. So, Python2 vs Python3—what's it going to be?

Got a question you'd like me to cover? Leave a comment with your Python or general software dev question on this video and I'll try to discuss it in one of the next "#PythonQ&A" videos.

* * *

FREE Python Coding Tutorials & News:
Рекомендации по теме
Комментарии
Автор

I love your videos. I'm a python 2 developer for last few years. My company always discouraged moving to python 3 simply because of library issue and also it was harder to find people with python 3 skill set. Most python 3 developers want to work for startups, tech companies, etc. Starting 2018, we are told to slowly move to python 3. Can you please make few videos detailing the differences between 2 and 3.

atiqulny
Автор

I thought of contributing to Django. But I am completely confused how to start. I mean to say how to read Django's source code. Can you please make a video on this?

harshvardhansharma
Автор

The biggest problem with Python is that until the standard CPython interpreter is updated to handle JIT'ing, better memory allocation, and multi-threading (these are the biggest pain points of modern Python) Python's long-term future is in jeopardy (5, 10 years from now). Like, if Julia's syntax wasn't ugly as hell and emphasized readability, we would probably be having a serious conversation right now about whether we should be coding in Julia or Python.

GoldPhoenix
Автор

If you haven't already, could you detail the differences between Python 2 and Python3. Thanks.

VictorGallagherCarvings
Автор

Would you recommend someone with zero coding experience to begin learning to code with Python 3?

maggieholbert
Автор

Python 3 "f" strings are awesome!

BrettMcS
Автор

There is no Python 3, there is Python & legacy Python (Python 2). Python 2 is legacy.

mastan
Автор

Type hints alone is more than enough reason to go with python 3. Well, that and f-strings.

arcadiosincero
Автор

Oh yeah, Dan --don't forget about the security and developer updates! There will be no further security updates in 2020, and there will be no further developer updates or support for pandas, NumPy, sklearn, SciPy, Jupyter, , etc, after 2020 for legacy Python. If that's not a reason to leave legacy Python, I don't know what is. Yeah, it's annoying to have to update code bases and it's okay to be angry with the way Python 3 happened, but you've had a decade to move on to greener pastures. And like Dan, I agree that Python 3 code is great. The language features make it clearly superior to legacy Python.

GoldPhoenix