<br>If your dependencies are satisfiable with 3.2, you're better off with 3.2.<br><br>If not, use 2.7, or consider porting the dependencies yourself (assuming those dependencies have code available).<br><br>Both 2.x and 3.x are good, but 3.x is clearly the way forward.<br>
<br>3.x has some annoyances corrected: more central unicode, incompatible types aren't silently compared in a strange way, a callable can insist on named arguments, etc.<br><br>The best way to learn the difference, IMO, is to develop on both.  You can do this by using 3to2, using 2to3, or using a common subset.  If you write automated tests, and set them up to run with one or more 2.x's and one or more 3.x's, you'll see the differences that matter in your code pretty quickly.<br>
<br>I've been opting for the common subset, and have been very happy with it.  Lately I'm testing on cpython 2.[567], cpython 3.[012], pypy 1.[45] and Jython 2.5.2 (the jython with a fix or two patched in).<br><br>
3to2 sounds like a bit nicer option than 2to3, because 3to2 can start from code that knows the difference between the two main kinds of strings.<br><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 10:18 AM, hisan <span dir="ltr"><<a href="mailto:santosh.ssit@gmail.com">santosh.ssit@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi All,<br>
<br>
Please let me know which one is GOOD whether Python 2.6 OR 3.2.<br>
Please let me know the difference between them.<br>
Please give some refernce site or books to know the difference<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>