python基础二
IDE 集成开发环境(Integrated Development Environment )
VIM #经典的linux下的文本编辑器
Emacs #linux文本编辑器,比VIM更容易使用
Eclipse #Java IDE,支持python,C,C++
Visual Studio #微软开发的IDE,支持python ,C++,C#,java
notepad++
subline python开发的
pycharm 主要用于python开发的IDE
在python3中,已经不区分int和long int,统一为int
布尔 只有两种状态,分别是真(True)和假(False)
salary.isdigit() 计算机中,一切皆为对象。 世界万物,皆为对象,一切对象皆可分类
1 C:UsersEthan>python 2 Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32 3 Type "help", "copyright", "credits" or "license" for more information. 4 >>> name = "Ethan" 5 >>> age = "25" 6 >>> print("You name is",name,"and age is",age) 7 You name is Ethan and age is 25 8 9 >>> print("You name is" + name + "and age is" + age) 10 You name isEthanand age is25