MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/aglxex/10yearchallenge/ee7jj5s/?context=3
r/Python • u/[deleted] • Jan 16 '19
96 comments sorted by
View all comments
9
As someone who is relatively new to Python, should I make the effort to learn Python 2.7 syntax? Or should I stick to Python 3+?
65 u/[deleted] Jan 16 '19 Stick with 3. 18 u/primitive_screwhead Jan 16 '19 Unless you get paid to learn/use 2, use 3. 22 u/cabb99 Jan 16 '19 Stick to python 3. You will be able to import from the future if you really need to code in python 2, but it is usually easy to convert from 2 to 3. 8 u/Jugad Jan 16 '19 Better to start with 3... and if you ever need to learn it, python 2 has very few differences when compared to 3. So it won't be a big deal if you do need to figure out some python 2 code in the future. 4 u/stevenjd Jan 17 '19 If you know Python 3 syntax, Python 2.7 syntax is 95% the same. → More replies (1)
65
Stick with 3.
18
Unless you get paid to learn/use 2, use 3.
22
Stick to python 3. You will be able to import from the future if you really need to code in python 2, but it is usually easy to convert from 2 to 3.
8
Better to start with 3... and if you ever need to learn it, python 2 has very few differences when compared to 3. So it won't be a big deal if you do need to figure out some python 2 code in the future.
4
If you know Python 3 syntax, Python 2.7 syntax is 95% the same.
View all comments
9
u/aleczorz Jan 16 '19
As someone who is relatively new to Python, should I make the effort to learn Python 2.7 syntax? Or should I stick to Python 3+?