Python

Lohankhapedia (自由的百科全書) 欲共你講..。
跳至導覽 跳至搜尋
Python
編程範型 Multi-paradigm: functionalimperative物件導向structuredreflective
軟體設計 Guido van Rossum
程式員 Python軟體基金會
首次發行 1991 年 2月;​ 33年 以前​ (1991-02) [1]
穩定
版本
預覽
版本
類型系統 Duckdynamicstrong typing;[2] gradual (對3.5之後,毋舊咧CPython會使忽陸)[3]
OS LinuxmacOSWindows 8野有
閣較濟
軟體授權 Python軟體基金會許可證
文件擴展名 .py, .pyi, .pyc, .pyd, .pyo (3.5之前),[4] .pyw, .pyz (對3.5之後)[5]
網站 www.python.org
主要 語言實做
CPythonPyPyStackless PythonMicroPythonCircuitPythonIronPythonJython
衍生副語言
CythonRPythonStarlark[6]
啟發語言
ABC,[1] Ada,[7] ALGOL 68,[8] APL,[9] C,[10] C++,[11] CLU,[12] Dylan,[13] Haskell,[14] Icon,[15] Java,[16] Lisp,[17] Modula-3,[11] PerlStandard ML[9]
影響語言
Apache GroovyCobraCoffeeScript,[18] DF#Genie,[19] GoJavaScript,[20][21] Julia,[22] Nim, Ring,[23] Ruby,[24] Swift[25]

Python () (chi̍t) (khoán)高層級 (ko-chân-kip) (high-level) 程式 (têng-sek)語言 (gí-giân)設計 (Siat-kè) (ê)理想 (lí-sióng) (hâm)可讀性 (khó-tha̍k-sèng) (readability), (kiam)會使 (ē-sài) (ēng) (比較 (pí-kàu)親像 (chhin-chhiūⁿ)C語言) (khah) (chió)編碼 (pian-bé) (lâi) (siá) (chhut)需要 (su-iàu)路用 (lō͘-iōng)等等 (téng-téng)

Python代先 (tāi-seng)是1989 ()Guido van Rossum (ūi) (tio̍h)設計 (thang)替換 (thè-ōaⁿ)ABC語言的語言, (beh) ()Amoeba (chit)作業 (chok-gia̍p)系統 (hē-thóng)會短 (ē-té)Van Rossum是Python的主耀 (chú-iāu)作者 (chok-chiá),是Python語言開發 (khai-hoat)主持者 (chú-chhî-chiá)

Python上早 (siāng-chá)是佇1990年發表 (hoat-piáu) (miâ) (tùi)英國 (Eng-kok)笑詼 (chhiò-khoe)藝人 (gē-jîn)組合 (cho͘-ha̍p)Monty Python號來的 (hō--lâi-ê)[26]

Python 3.x佇2008年推出 (thui-chhut)總是 (chóng-sī)Python 2.x () (koh) (chin)普遍 (phó͘-phiàn)並扯 (pēng-chhiá) (siū)改信 (kái-sin)

參考 (Chham-khó)[修改]

  1. 1.0 1.1 "Why was Python created in the first place?". General Python FAQ. Python Software Foundation. 22 March 2007 khòaⁿ--ê. 
  2. "Why is Python a dynamic language and also a strongly typed language - PythonWiki". wiki.python.org. 2021-01-27 khòaⁿ--ê. 
  3. "PEP 483 -- The Theory of Type Hints". Python.org. 
  4. File extension .pyo was removed in Python 3.5. SeePEP0488
  5. Holth, Moore (30 March 2014). "PEP 0441 -- Improving Python ZIP Application Support". 12 November 2015 khòaⁿ--ê. 
  6. "Starlark Language". 25 May 2019 khòaⁿ--ê. 
  7. "Ada 83 Reference Manual (raise statement)". 
  8. Kuchling, Andrew M。 (22 December 2006). "Interview with Guido van Rossum (July 1998)". amk.ca. goân-loē-iông tī 1 May 2007 hőng khó͘-pih. 12 March 2012 khòaⁿ--ê. 
  9. 9.0 9.1 "itertools — Functions creating iterators for efficient looping — Python 3.7.1 documentation". docs.python.org. 
  10. van Rossum, Guido (1993). "An Introduction to Python for UNIX/C Programmers". Proceedings of the NLUUG Najaarsconferentie (Dutch UNIX Users Group). even though the design of C is far from ideal, its influence on Python is considerable。 
  11. 11.0 11.1 "Classes". The Python Tutorial. Python Software Foundation. 20 February 2012 khòaⁿ--ê. It is a mixture of the class mechanisms found in C++ and Modula-3 
  12. Lundh, Fredrik. "Call By Object". effbot.org. 21 November 2017 khòaⁿ--ê. replace "CLU" with "Python", "record" with "instance", and "procedure" with "function or method", and you get a pretty accurate description of Python's object model。 
  13. Simionato, Michele. "The Python 2.3 Method Resolution Order". Python Software Foundation. The C3 method itself has nothing to do with Python, since it was invented by people working on Dylan and it is described in a paper intended for lispers 
  14. Kuchling, A。 M。. "Functional Programming HOWTO". Python v2.7.2 documentation. Python Software Foundation. 9 February 2012 khòaⁿ--ê. 
  15. Schemenauer, Neil; Peters, 砧; Hetland, Magnus Lie (18 May 2001). "PEP 255 – Simple Generators". Python Enhancement Proposals. Python Software Foundation. 9 February 2012 khòaⁿ--ê. 
  16. Smith, Kevin D。; Jewett, Jim J。; Montanaro, Skip; Baxter, Anthony (2 September 2004). "PEP 318 – Decorators for Functions and Methods". Python Enhancement Proposals. Python Software Foundation. 24 February 2012 khòaⁿ--ê. 
  17. "More Control Flow Tools". Python 3 documentation. Python Software Foundation. 24 July 2015 khòaⁿ--ê. 
  18. "CoffeeScript". coffeescript.org. 
  19. "The Genie Programming Language Tutorial". 28 February 2020 khòaⁿ--ê. 
  20. "Perl and Python influences in JavaScript". www.2ality.com. 24 February 2013. 15 May 2015 khòaⁿ--ê. 
  21. Rauschmayer, Axel. "Chapter 3: The Nature of JavaScript; Influences". O'Reilly, Speaking JavaScript. 15 May 2015 khòaⁿ--ê. 
  22. "Why We Created Julia". Julia website. February 2012. 5 June 2014 khòaⁿ--ê. We want something as usable for general programming as Python [...] 
  23. Ring Team (4 December 2017). "Ring and other languages". ring-lang.net. ring-lang. 
  24. Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects: bringing Ruby on Rails都the Java platform. Berkeley: APress. p. 3. ISBN 978-1-59059-881-8. 
  25. Lattner, Chris (3 June 2014). "Chris Lattner's Homepage". Chris Lattner. 3 June 2014 khòaⁿ--ê. The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas。 Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far都many others to list. 
  26. Henderson, Harry (2008). "Python". Encyclopedia of Computer Science and Technology (Revised Edition). Facts On File. 

參考文獻 (bûn-hiàn)[修改]

外部 (Gōa-pō͘)連結 (liân-kiat)[修改]