I need straight answers.

Please i need a direct answer on python programming.
Should a beginner to programming in 2013 start with python 2 or 3?
And why?
And do you know any good books for either?
I'd say go with 2, because you are a beginner and there are many more Python2 tutorials than python3 ones.
Good point.
closed account (Dy7SLyTq)
but isnt python 2 not compatible with 3? isnt that a bit like saying learn c++(is it 03 or 98 can't remember) instead of c++11?
closed account (3qX21hU5)
I would stick with python 2.7 for now since a lot of modules are not 3.X compatible yet. Going from 2.x to 3.x at a later date when you are already familiar with python won't be to hard, but starting out with python 3.x right now will limit what different modules you can use.

but isnt python 2 not compatible with 3? isnt that a bit like saying learn c++(is it 03 or 98 can't remember) instead of c++11?


Not really. C++11 is backwards compatible it won't break any programs that were written in older versions most likely. Whereas if you are using Python 3.x there is a lot of python 2.x modules that haven't been updated for 3.x that you can't use.
Last edited on
Why the beans would they do that?
closed account (Dy7SLyTq)
C++11 is backwards compatible it won't break any programs that were written in older versions most likely. Whereas if you are using Python 3.x there is a lot of python 2.x modules that haven't been updated for 3.x that you can't use.

i know. thats not what i meant. i was more talking about the techniques, like learning to use rand() instead of <rand>
closed account (S6k9GNh0)
Yeah, I would not recommend Python 2. Python 3's intention was to improve on Python 2, it breaks compatibility, and it's the step forward.

Even if their aren't many modules that can use it, it might be worth trying to port them yourself and using that as a learning tool. It's not hard (and ctypes can be used).
How about - learn another language for a while until Python 3 is a little more developed?
closed account (S6k9GNh0)
There's nothing wrong with python 3.
The languages are not compatible because it would be difficult for the pyc to keep them compatible without a lot of bloat in the python libraries and grief for the people writing the parser.

In terms of humans, you are unlikely to have difficulty switching to the other once you learn one of them.
Topic archived. No new replies allowed.