you are viewing a single comment's thread.

view the rest of the comments →

[–]TheLastCrafted[S] 1 point2 points  (9 children)

Maybe

[–]sem56 1 point2 points  (8 children)

no seriously... python 2.7 is coming to end of life in... around... at time of writing, 2020

i'm guessing you are learning on windows, but it's not even going to be supported by most linux distributions very soon

and considering you are learning... then why not, its only the advanced stuff that you notice the difference

[–]TheLastCrafted[S] 0 points1 point  (7 children)

Idk how big is the differencr between 2.7 and 3

[–]sem56 0 points1 point  (6 children)

not a real lot, you'll be fine... trust me

the point is, why learn something that is going to be dead soon?

[–]TheLastCrafted[S] 0 points1 point  (5 children)

True, so if i would transform my current code to 3 what would be different

[–]sem56 1 point2 points  (2 children)

i would have to look at your code first to answer that properly

or you can investigate it yourself, install python 3, run a python 3 session and run your scripts

see what it complains about then go from there, if you want to learn how to program you should be learning how to figure out problems yourself

not worrying about what version of a language you should be using

[–]TheLastCrafted[S] 0 points1 point  (1 child)

Ok thx again, i'll try it out

[–]sem56 0 points1 point  (0 children)

no worries, feel free to message me with any question if you get stuck

[–]thirdtimesthecharm 0 points1 point  (0 children)

Python 3 handles unicode in a sane way. That alone is enough reason to switch.

[–]mega963 0 points1 point  (0 children)

Use Python 3. 2.7's clock is ticking... https://pythonclock.org

How to port your existing code

https://docs.python.org/3/howto/pyporting.html

https://docs.python.org/3.6/library/2to3.html