Python 2.x vs. 3.x use survey
docs.google.com
Python 2.x vs. 3.x use survey
1–10 of 72 posts
Re: Python 2.x vs. 3.x use survey
#2It sparkled interesting discussions on HN: https://news.ycombinator.com/item?id=6990481 "Python 2.x vs 3.x use survey" https://news.ycombinator.com/item?id=7005711 " Python 2.x vs. 3.x survey results"
Here is the 2014 edition, slightly updated (from 9 to 11 questions). It should not take you more than 1 minute to fill. I would be pleased if you took that time.
The results will be published around the end of the year.
Re: Python 2.x vs. 3.x use survey
#3Last year a survey was conducted on python 2 and 3 usage. It sparkled interesting discussions on HN: https://news.ycombinator.com/item?id=6990481 "Python 2.x vs 3.x use survey" https://news.ycombinator.com/item?id=7005711 " Python 2.x vs. 3.x survey results" Here is the 2014 edition, slightly updated (from 9 to 11 questions). It should not take you more than 1 minute to fill. I would be pleased if you took that time.…
Re: Python 2.x vs. 3.x use survey
#4Re: Python 2.x vs. 3.x use survey
#5Re: Python 2.x vs. 3.x use survey
#6Last year a survey was conducted on python 2 and 3 usage. It sparkled interesting discussions on HN: https://news.ycombinator.com/item?id=6990481 "Python 2.x vs 3.x use survey" https://news.ycombinator.com/item?id=7005711 " Python 2.x vs. 3.x survey results" Here is the 2014 edition, slightly updated (from 9 to 11 questions). It should not take you more than 1 minute to fill. I would be pleased if you took that time.…
Re: Python 2.x vs. 3.x use survey
#7This reminds me of a Flask mini project I did. I was doing it in Ubuntu (LTS if I'm not mistaken). I picked python3 and ran with it. As I tried to use Python's virtualenv (venv), I went down the rabbit hole of a broken mess that was left in Ubuntu. I just reinstalled Ubuntu this week so I might give it another shot, but every time I try to do something with Python I end up with a broken mess, and that's disheartening
docker pull python:2.7
docker pull python:3
For more granular tags: https://registry.hub.docker.com/_/python/
Re: Python 2.x vs. 3.x use survey
#8Re: Python 2.x vs. 3.x use survey
#9open("/dev/urandom").read(20)
and was confronted with
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 2: invalid start byte
If I had realized at the time that this error would be averted with
open("/dev/urandom", "rb").read(20)
I might have felt more charitable and less shocked (although I can see in retrospect that there's quite a good reason for this error, I might have preferred for the default file type to be binary -- presumably something that was debated extensively inside the Python 3 development effort).
Re: Python 2.x vs. 3.x use survey
#10This reminds me of a Flask mini project I did. I was doing it in Ubuntu (LTS if I'm not mistaken). I picked python3 and ran with it. As I tried to use Python's virtualenv (venv), I went down the rabbit hole of a broken mess that was left in Ubuntu. I just reinstalled Ubuntu this week so I might give it another shot, but every time I try to do something with Python I end up with a broken mess, and that's disheartening
You could use Docker, that way your host Ubuntu is kept clean. docker pull python:2.7 docker pull python:3 For more granular tags: https://registry.hub.docker.com/_/python/
Either way you are hand installing a lot of packages.