Python是一种高层次,解释,互动性和面向对象的脚本语言。Python 被设计成具有很强的可读性语言。它采用英语关键字,而其他语言一般使用标点符号,并且具有比其他语言有较少的句法结构。
-
Python是解释型的语言:Python 是在运行时被解释处理。你不需要在执行前编译程序。这类似于Perl和PHP。
-
Python是交互式的: 实际上,可以在 Python 提示和解释直接交互来编写程序。
-
Python是面向对象:Python支持面向对象式或编程的对象中封装代码的技术。
-
Python是一种初学者的语言:Python是初学者级别程序员伟大的语言,并支持广泛从简单的文字处理,网页浏览器应用程序到游戏的开发。
Python历史
Python 1.0发布于1994年11月。在2000年,Python 2.0发布。Python 2.7.11是Python2 中的最新版本。
同时,Python 3.0发布于2008年。 Python3 不与落后的 Python2 兼容。Python3 的重点是一直在删除重复编程结构和模块,使“应该有一个 - 最好只有一个 - 明显的方法来做到这一点。”Python 3.5.1是 Python3 的最新版本。
Python的特点
-
易于学习:Python有几个关键字,结构简单,明确定义的语法。这让初学者可以快速上手语言。
-
易于阅读: Python代码更加明确和看得见。
-
易于维护: Python源代码是相当容易维护的。
-
广泛的标准库:Python的库是非常便携的,在UNIX,Windows和Macintosh跨平台兼容。
-
交互式模式:Python有一个交互动的模式,可支持互动测试和代码段的调试。
-
便携: Python可以在多种硬件平台上运行,并且对所有平台相同的接口。
-
可扩展: 可以添加低级别的模块到Python解释器。这些模块使程序员能够更有效地添加或定制自己的工具。
-
数据库: Python提供了接口,支持所有主要的商业数据库。
-
GUI编程: Python支持,可以创建并移植到许多系统调用GUI应用程序, 库和Windows系统,如:Windows MFC,Macintosh和Unix X窗口系统。
-
可扩展: 对于大型程序,Python提供比shell脚本更加合理的结构和支持。
-
它支持函数和结构化以及OOP程序设计方法。
-
它可以被用来作为一种脚本语言或可以被编译成字节码用于构建大的应用程序。
-
它提供了非常高的水平动态数据类型和支持动态类型检查。
-
它支持自动垃圾收集。
-
它可与C,C ++,COM和ActiveX,CORBA和Java轻松集成。
最新更新
- Python3 os.write()方法
- Python3 os.walk()方法
- Python3 os.utime()方法
- Python3 os.unlink()方法
- Python3 os.ttyname()方法
- Python3 os.tmpnam()方法
- Python3 os.tmpfile()方法
- Python3 os.tempnam()方法
- Python3 os.tcsetpgrp()方法
- Python3 os.tcgetpgrp()方法
- Python3 os.symlink()方法
- Python3 os.statvfs()方法
- Python3 os.stat_float_times()方法
- Python3 os.stat()方法
- Python3 os.rmdir()方法
- Python3 os.renames()方法
- Python3 os.rename()方法
- Python3 os.removedirs()方法
- Python3 os.remove()方法
- Python3 os.readlink()方法
- Python3 os.read()方法
- Python3 os.popen()方法
- Python3 os.pipe()方法
- Python3 os.pathconf()方法
- Python3 os.openpty()方法
- Python3 os.open()方法
- Python3 os.mknod()方法
- Python3 os.mkfifo()方法
- Python3 os.mkdir()方法
- Python3 os.minor()方法
- Python3 os.makedirs()方法
- Python3 os.makedev()方法
- Python3 os.major()方法
- Python3 os.lstat()方法
- Python3 os.lseek()方法
- Python3 os.listdir()方法
- Python3 os.link()方法
- Python3 os.lchown()方法
- Python3 os.lchmod()方法
- Python3 os.lchflags()方法
- Python3 os.isatty()方法
- Python3 os.getcwdu()方法
- Python3 os.getcwd()方法
- Python3 os.ftruncate()方法
- Python3 os.fsync()方法
- Python3 os.fstatvfs()方法
- Python3 os.fstat()方法
- Python3 os.fpathconf()方法
- Python3 os.fopen()方法
- Python3 os.fdatasync()方法
- Python3 os.fchown()方法
- Python3 os.fchmod()方法
- Python3 os.fchdir()方法
- Python3 os.dup2()方法
- Python3 os.dup()方法
- Python3 os.closerange()方法
- Python3 os.close()方法
- Python3 os.chroot()方法
- Python3 os.chown()方法
- Python3 os.chmod()方法
- Python3 os.chflags()方法
- Python3 os.chdir()方法
- Python3 os.access()方法
- Python3 file.seek()方法
- Python3 file.readlines()方法
- Python3 file.readline()方法
- Python3 file.read()方法
- Python3 file.next()方法
- Python3 file.isatty()方法
- Python3 file.fileno()方法
- Python3 file.flush()方法
- Python3 file.writelines()方法
- Python3 file.write()方法
- Python3 file.truncate()方法
- Python3 file.tell()方法
- Python3 file.close()方法
- Python3 time.tzset()方法
- Python3 time.time()方法
- Python3 time.strftime()方法
- Python3 time.sleep()方法
- Python3 time.mktime()方法
- Python3 time.localtime()方法
- Python3 time.gmtime()方法
- Python3 time.ctime()方法
- Python3 time.clock()方法
- Python3 time.asctime()方法
- Python3 time.altzone()方法
- Python3 dictionary.values()方法
- Python3 dictionary.update()方法
- Python3 dictionary.setdefault()方法
- Python3 dictionary.keys()方法
- Python3 dictionary.items()方法
- Python3 dictionary.has_key()方法
- Python3 dictionary.get()方法
- Python3 dictionary.fromkeys()方法
- Python3 dictionary.copy()方法
- Python3 dictionary.clear()方法
- Python3 dictionary.type()方法
- Python3 dictionary.str()方法
- Python3 dictionary.len()方法
- Python3 dictionary.cmp()方法
- Python3 tuple.tuple()方法
- Python3 tuple.min()方法
- Python3 tuple.max()方法
- Python3 tuple.len()方法
- Python3 tuple.cmp()方法
- Python3 list.sort()方法
- Python3 list.reverse()方法
- Python3 list.remove()方法
- Python3 list.pop()方法
- Python3 list.insert()方法
- Python3 list.index()方法
- Python3 list.extend()方法
- Python3 list.count()方法
- Python3 list.append()方法
- Python3 list.list()方法
- Python3 list.min()方法
- Python3 list.max()方法
- Python3 list.len()方法
- Python3 list.cmp()方法
- Python3 string.isdecimal()方法
- Python3 string.zfill()方法
- Python3 string.upper()方法
- Python3 string.translate()方法
- Python3 string.title()方法
- Python3 string.swapcase()方法
- Python3 string.strip()方法
- Python3 string.startswith()方法
- Python3 string.splitlines()方法
- Python3 string.split()方法
- Python3 string.rstrip()方法
- Python3 string.rjust()方法
- Python3 string.rindex()方法
- Python3 string.rfind()方法
- Python3 string.replace()方法
- Python3 string.min()方法
- Python3 string.max()方法
- Python3 string.maketrans()方法
- Python3 string.lstrip()方法
- Python3 string.lower()方法
- Python3 string.ljust()方法
- Python3 string.len()方法
- Python3 string.join()方法
- Python3 string.isupper()方法
- Python3 string.istitle()方法
- Python3 string.isspace()方法
- Python3 string.isnumeric()方法
- Python3 string.tolower()方法
- Python3 string.isdigit()方法
- Python3 string.isalpha()方法
- Python3 string.isalnum()方法
- Python3 string.index()方法
- Python3 string.find()方法
- Python3 string.encode()方法
- Python3 string.expandtabs()方法
- Python3 string.endswith()方法
- Python3 string.decode()方法
- Python3 string.count()方法
- Python3 string.center()方法
- Python3 string.capitalize()方法
- Python3 radians()函数
- Python3 degrees()函数
- Python3 tan()函数
- Python3 sin()函数
- Python3 hypot()函数
- Python3 cos()函数
- Python3 atan2()函数
- Python3 atan()函数
- Python3 asin()函数
- Python3 acos()函数
- Python3 uniform()函数
- Python3 shuffle()函数
- Python3 seed()函数
- Python3 random()函数
- Python3 randrange()函数
- Python3 choice()函数
- Python3 sqrt()函数
- Python3 round()函数
- Python3 pow()函数
- Python3 modf()函数
- Python3 min()函数
- Python3 max()函数
- Python3 log10()函数
- Python3 log()函数
- Python3 floor()函数
- Python3 fabs()函数
- Python3 exp()函数
- Python3 ceil()函数
- Python3 abs()函数
- Python3 pass语句
- Python3 continue语句
- Python3 break语句
- Python3嵌套if语句
- Python3 if...elseif...else语句
- Python3 if语句
- Python3运算符优先级示例
- Python3标识运算符实例
- Python3成员运算符实例
- Python3逻辑运算符实例
- Python3位运算符实例
- Python3赋值运算符实例
- Python3比较运算符实例
- Python算术运算符实例
易百教程移动端:请扫描本页面底部(右侧)二维码并关注微信公众号,回复:"教程" 选择相关教程阅读或直接访问:http://m.yiibai.com 。
加QQ群啦,易百教程官方技术学习群
注意:建议每个人选自己的技术方向加群,同一个QQ最多限加 3 个群。