Does anyone use 2.x by choice? I've only seen it required as to not break legacy code.
This shouldn't be downvoted, it's a legit question. I hear some people really really prefer `print as statement`, but I've never seem them in real life.
New features you can't use unless you are in Python 3
51–60 of 264 posts
Re: New features you can't use unless you are in Python 3
#52Open page. Nothing works. Enable their scripts. First slide shows but nothing works - except the link to the pdf version. Why not give a link to the pdf version in a element?
Re: New features you can't use unless you are in Python 3
#53Earlier quoted context omitted.
What I said was the default version of Python is old on most distributions. For example, CentOS 6 ships with Python 2.6 out of the box. Even faster moving distros (like Ubuntu) are still trying to make Python 3 the default (although at least Ubuntu ships with both 2.7 and 3.4+ out of the box).
Centos 6 is 7 years old, if you are still using that it is unfortunately your problem. It's not hard to write "python3" on a modern dist. Ubuntu has 3.5 and 3.6 is easily installable though not yet default 3.x.
Re: New features you can't use unless you are in Python 3
#54Earlier quoted context omitted.
Python 3 has been available on most dists for 5-10 years.
What I said was the default version of Python is old on most distributions. For example, CentOS 6 ships with Python 2.6 out of the box. Even faster moving distros (like Ubuntu) are still trying to make Python 3 the default (although at least Ubuntu ships with both 2.7 and 3.4+ out of the box).
Re: New features you can't use unless you are in Python 3
#55Earlier quoted context omitted.
This shouldn't be downvoted, it's a legit question. I hear some people really really prefer `print as statement`, but I've never seem them in real life.
Just from __past__ import print_statement I really hope someone makes this work. I literally laughed and thought that it was a troll the first time I saw the future print import and that being used as a compelling reason that I should switch to Py3.
Re: New features you can't use unless you are in Python 3
#56I'm impressed how much Python seems stuck on older versions. What went wrong?
People just can't be bothered to upgrade when it works well enough for them.
Re: New features you can't use unless you are in Python 3
#57Earlier quoted context omitted.
What I said was the default version of Python is old on most distributions. For example, CentOS 6 ships with Python 2.6 out of the box. Even faster moving distros (like Ubuntu) are still trying to make Python 3 the default (although at least Ubuntu ships with both 2.7 and 3.4+ out of the box).
Centos 6 is 7 years old, if you are still using that it is unfortunately your problem. It's not hard to write "python3" on a modern dist. Ubuntu has 3.5 and 3.6 is easily installable though not yet default 3.x.
Re: New features you can't use unless you are in Python 3
#58Earlier quoted context omitted.
What I said was the default version of Python is old on most distributions. For example, CentOS 6 ships with Python 2.6 out of the box. Even faster moving distros (like Ubuntu) are still trying to make Python 3 the default (although at least Ubuntu ships with both 2.7 and 3.4+ out of the box).
Centos 6 is 7 years old, if you are still using that it is unfortunately your problem. It's not hard to write "python3" on a modern dist. Ubuntu has 3.5 and 3.6 is easily installable though not yet default 3.x.
Re: New features you can't use unless you are in Python 3
#59Does anyone use 2.x by choice? I've only seen it required as to not break legacy code.