admin 管理员组文章数量: 1086019
2024年4月24日发(作者:番石榴图片 功效)
Python
Definition:Pythonisanobject-oriented,open-source
programminglanguageoftenusedforrapidapplication
'ssimplesyntaxamphasizes
readability,reducingthecostofprogrammantenance,whileits
largelibraryoffunctionsandcallsencouragesreuseand
extensibility.
AmongthelanguagesfavoredbyWebdevelopersand
innovators,particularlythoseintheopen-source
community,threeofthemostpopulararePerl,PHPand
PerlandPHParemorementioned,butwecannot
neglectPython,whichisemergingasapowerfulalternativeto
themoretraditionalchoices.
Pythonisattractivebecauseofitseaseofuse;itshighlevelof
abstractionfromthehardware;itsextensivesupportfor
housekeepingactivitiessuchasI/O,memorymanagement,data
typingandvariablebinding;and,perhapsmostimportant,thefact
thatprogrammerscanbehighlyproductivewiththelanguage.
Pythonwascreatedinthelate1980sbyDutchprogrammer
GuidovanRossumandwasnamedaftertheBBCtelevision
comedyseriesMontyPython'sFlyingCircus.
YoucanconsiderPythoneitherascriptinglanguageora
"regular"rsaninteractivemode
forquickdevelopmentandtesting,aswellasnoninteractive
modeforeaseofreuse.
Infact,Pythondosenotactuallycontainanythingnew
-------everyfeaturehasbeentakenfromsomeother
racticalcapabilitiesarewrappedupinasimple
packagethat'savailableforanyonetodownloadandusewithout
restriction;noteventheGNUPublicLicenseapplies.
Likejava,Pythonhasasmallcoreandalarge,extensiblelibrary
,mostofwhataprogrammeris
likelytoneedalreadyexistsinwritten,testedfromandcanbe
usedwithsimplelibrarycallsgluedtogetherwithasmall
amountofnewcode.
OnemeasureofPython'sprogrammer-friendlinessisitsreliance
onasimpleindentationhierarchyforgroupingsectionsof
code,whicheliminatestheneedtomatchBegin/Endstatements
ortocountparentheses,bracketsorcurlybraces.
isageneral-purposeprogramminglanguagethat
offersfarmorestructureandsupportforlargeprogramsthan
simpleshellscriptsandmuchmoreerrorscheckingthan
lower-levellanguagessuchasC.
Pythonisobject-orientedwithbuilt-in,high-leveldata
types,eapplied
tomuchlargerproblemsthanlanguagessuchasAwkoreven
Perlcan,yetitremainsaseasytouseasthoselanguages.
版权声明:本文标题:PYTHON的英文介绍。(实用) 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1713934586a658440.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论