views:

201

answers:

2

Possible Duplicate:
Why won't you switch to Python 3.x?

I see there are already a lot of duplicate questions asking whether or not new Python programmers should learn 2 or 3. I am not asking that question.

I am already a Python 2 programmer. I started tinkering with it some years ago. I started using it almost exclusively for my personal projects about a year ago. I even recently switched from a PHP job to a Python job. However, all this has been with Python 2.

Python 3 is out now, and I know that is is not backwards compatible with 2, although it is similar. I don't think I'm going to have any problem learning Python 3. However, I am going to have a problem transitioning old code, if it becomes necessary. Also, if development efforts move from Python 2 to 3, I can't be stuck developing on a deprecated platform.

It seems that for the moment, Python 2 is still going strong, and there isn't really any push to transition to 3. That can't last forever, though. When should I start to make a move?

A: 

If you can switch now, you might as well. Learning the newest will always help in the future.

Being that you have been using 2, then there is no concern that you won't know how to use that.

Tom Hubbard
+1  A: 

The best answer I can give you is change when you need to. If you have no need for Python 3, then don't switch. If you aren't sure if you need to switch, chances are that you don't.

That said, once Python 3 becomes the more widely used version (in a few years, not anytime soon), you'll probably want to switch just because it will be more supported (more libraries, etc).

If you don't have any Python 2-specific libraries, you could write new projects in Python 3 just to ease the transition, but you don't need to at this point.

musicfreak