Differences between the two versions of Python and the IDE environment-personal class notes, pythonide
Python versions:
Python 3.6.3 (currently the latest and most stable)
Python 2.7.14 (old version, relatively stable)
Differences between Python 3 and Python2:
1 #Print usage2 #Python2:3 print 'Hello world' 4 print ('Hello World') 5 #Both of the preceding methods can be used.6 7 #Python3:8 print ('Hello World) 9# Only One Method10 11 #Conclusion: In Python3, print is defined as a function, which is recorded only in the personal classroom notes and is not comprehensive.
# Input usage: # python2:Input ("please input something") raw_input ("please input something ")# Both of the preceding methods can be used.# Python3:Input ("please input something ")# Only One Method#Summary:Raw_input () is deleted in python3 (), Only individual class notes, not comprehensive
Python development IDE environment Pycharm:
Https://www.jetbrains.com/zh/pycharm/specials/pycharm/pycharm.html? Utm_source = baidu & utm_medium = cpc & utm_campaign = cn-bai-br-pycharm-ex-pc & utm_content = pycharm-pure & utm_term = pycharm