- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
python学习(Python learning)
python学习(Python learning)
The power of python:
1. object based
2.free free of charge
3.portable platform independent, compiled into bytecode. So efficiency will be worse than C, c++
4.powerful has many powerful features and support, such as dynamic types, automatic memory management, large program support, build-in, object, type, powerful libraries and toolkit support.
5.mixable can invoke modules of other languages or be called by other languages.
6.easy to use writes much less code than other languages.
7.easy to learn
Python compilation process
The 1. source file is.Py, but this is required only when the source file is using the import import.
2.python ***.py runs the script file.
(1) first, the file is compiled into bytecode (Python byte code of its own format), usually to generate a file at the end of.Pyc and put it next to the source file. Sometimes it can only be generated in memory. When running the program, when the.Pyc is the latest, the source file will not be compiled.
(2) the.Pyc file is executed sentence by sentence in Python virtual machine (PVM).
(3) each statement is interpreted as machine byte code by PVM. And C and c++ are interpreted directly as machine byte code, which is why Python is slower than C and c++.
3.python doesnt have a compile environment, its only running environment. (like javascrpt, it should be the same.)
Derivative version of python:
The 1. standard Python is written in the C language, with the most complete functionality and the fastest performance.
2.jython is the original Python code compiled into Java bytecode, running in JVM, the purpose is to make Python and Java can be integrated. After doing so, Java can call Pythons code, and python can also use the Java library.
3.IronPython is the original code Python compiled into.Net environment bytecode, can run in the.Net framework. The purpose is to integrate with.Net. Developed by Microsoft.
Pythons tool for optimizing the performance of some third parties:
1.Psyco: when scannin
您可能关注的文档
- joo1(joo1).doc
- java面试纠错题目大全(Java interview error correction topics).doc
- jorinde and joringel(jorinde和joringel).doc
- js document对象(i document对象).doc
- jdbc 访问各种数据库 url 语法(总结篇)(JDBC access various database URL syntax (summary)).doc
- java面象对象编程(Java object like programming).doc
- jsp input限制输入(JSP input restrict input).doc
- js语句及语法(JS statements and syntax).doc
- juniper基本配置入门(Introduction to basic configuration of juniper).doc
- js语法(JS syntax).doc
- python语法_import(Python语法_import).doc
- qe为何不会导致恶性通胀(Why does not QE lead to hyperinflation).doc
- qtp的datatable操作(QTP's datatable operation).doc
- qq简单网名(QQ simple net name).doc
- qaz艺 的全部歌曲(All the songs of QAZ Art).doc
- qt线程同步2(QT thread synchronization 2).doc
- quartus常见错误分析[eda](Quartus common error analysis [eda]).doc
- qxq磁控式软启动器做工精细,外观合理,质量上乘(Qxq magnetron type soft starter, fine workmanship, reasonable appearance, high quality).doc
- ral系列颜色(Ral series colors).doc
- pthread手册(pthread手册).doc
文档评论(0)