7 Réponses
+ 7
@Harshana Look for QPython3.
The name says it all :)
+ 3
What specifically confuses you?
It is best to focus on python 3 as python 2 will not really be ever updated again(except for 3rd party modules which may provide updates to themselves)
Saying that however there is still a lot of python 2 code that you may have to work with or maintain in the future.
Many changes that get slightly annoying are module names. In python 2 some modules such as ConfigParser are now configparser(lowercase which match the pep8 standard)
Is there anything in particular you are having issues with?
+ 2
@harshana, I did a quick search and found that i seemed to reference this link a few times :) haven't needed it in a while but might help you.
http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
The unicode things gets me all the time! but luckily simple changes make it backwards compatible. I have a few programs that have had to be python 2.6, 2.7 and 3+ compatible.
+ 1
Nope. I have python android app. it is python 2. and I can not find a android app for python 3.
+ 1
I am not worrying about modules. its just some basic keywords
+ 1
the difficulty i see is so many programs utilizing python used 2 and aren't compatible with python 3. if doing new code try to stick with 3 if nothing just to be part of the solution not the problem ,but in general you'll need to have both versions available ,for now
+ 1
thankz all.