|
|
|
Ask HN: Do you primarily use Python 2 or 3?
|
|
2 points
by mattangriffel
3637 days ago
|
|
I'm teaching a college course on Python in the Fall and wanted to present some data on the market penetration of Python 3 within the Python community. Here are some things I've discovered:
- There are more monthly posts on Stack Overflow relating to Python 3 than Python 2 since April 2016.
- 57.94% of survey respondents in London use Python 2.7 for work, while 33.03% use Python 3.4.
- For personal use, 49.79% of survey respondents in London use Python 3.4, while only 44.42% use Python 2.7. But I'd like to get firsthand data from a larger and more representative community. So if you code in Python, do you primarily use Python 2 or 3? |
|
If I start a new codebase for a toy or throwaway project that doesn't have to be importable into one of those codebases, I'll start it in Python 3. If I remember to use it when creating the virtualenv. After all, with the primary project in Python 2, 2 is still my system default.