4 ms·
Is the goal here to learn how to write code in Python or to learn the specifics of each version of the language? If the goal is to just learn Python, I don't th
by latchkey 15y ago
Is the goal here to learn how to write code in Python or to learn the specifics of each version of the language? If the goal is to just learn Python, I don't think it really matters which version you learn since the general basics of the language are pretty much the same between versions. In other words, a for loop is still a for loop.
Asking Google came up with this link: http://wiki.python.org/moin/Python2orPython3 http://wiki.python.org/moin/Python2orPython3
I'd personally start with 2.x so that you can understand the history of Python and then make sure to have an understanding of what is changing in 3 via links like this: http://docs.python.org/py3k/whatsnew/3.0.html http://docs.python.org/py3k/whatsnew/3.0.html
Finally, if this is for a job, I guess one thing would be to see what the requirements of the job are. If you need to use Python 3 for your job, your best bet is probably to learn Python 3. =)