Python
跳至導覽
跳至搜尋
編程範型 | Multi-paradigm: functional,imperative,物件導向,structured,reflective |
---|---|
軟體設計 | Guido van Rossum |
程式員 | Python軟體基金會 |
首次發行 | 1991 年 2月[1] |
穩定 版本 | |
預覽 版本 | |
類型系統 | Duck,dynamic,strong typing;[2] gradual (對3.5之後,毋舊咧CPython會使忽陸)[3] |
OS |
Linux,macOS,Windows 8野有 閣較濟 |
軟體授權 | Python軟體基金會許可證 |
文件擴展名 | .py, .pyi, .pyc, .pyd, .pyo (3.5之前),[4] .pyw, .pyz (對3.5之後)[5] |
網站 |
www |
主要 語言實做 | |
CPython,PyPy,Stackless Python,MicroPython,CircuitPython,IronPython,Jython | |
衍生副語言 | |
Cython,RPython,Starlark[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] Perl,Standard ML[9] | |
影響語言 | |
Apache Groovy,摸,Cobra,CoffeeScript,[18] D,F#,Genie,[19] Go,JavaScript,[20][21] Julia,[22] Nim, Ring,[23] Ruby,[24] Swift[25] | |
|
Python
Python
Python
Python 3.x佇2008年
參考 [修改]
- ↑ 1.0 1.1 "Why was Python created in the first place?". General Python FAQ. Python Software Foundation. 22 March 2007 khòaⁿ--ê.
- ↑ "Why is Python a dynamic language and also a strongly typed language - PythonWiki". wiki.python.org. 2021-01-27 khòaⁿ--ê.
- ↑ "PEP 483 -- The Theory of Type Hints". Python.org.
- ↑ File extension .pyo was removed in Python 3.5. SeePEP0488
- ↑ Holth, Moore (30 March 2014). "PEP 0441 -- Improving Python ZIP Application Support". 12 November 2015 khòaⁿ--ê.
- ↑ "Starlark Language". 25 May 2019 khòaⁿ--ê.
- ↑ "Ada 83 Reference Manual (raise statement)".
- ↑ 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.0 9.1 "itertools — Functions creating iterators for efficient looping — Python 3.7.1 documentation". docs.python.org.
- ↑ 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.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
- ↑ 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。
- ↑ 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
- ↑ Kuchling, A。 M。. "Functional Programming HOWTO". Python v2.7.2 documentation. Python Software Foundation. 9 February 2012 khòaⁿ--ê.
- ↑ Schemenauer, Neil; Peters, 砧; Hetland, Magnus Lie (18 May 2001). "PEP 255 – Simple Generators". Python Enhancement Proposals. Python Software Foundation. 9 February 2012 khòaⁿ--ê.
- ↑ 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ⁿ--ê.
- ↑ "More Control Flow Tools". Python 3 documentation. Python Software Foundation. 24 July 2015 khòaⁿ--ê.
- ↑ "CoffeeScript". coffeescript.org.
- ↑ "The Genie Programming Language Tutorial". 28 February 2020 khòaⁿ--ê.
- ↑ "Perl and Python influences in JavaScript". www.2ality.com. 24 February 2013. 15 May 2015 khòaⁿ--ê.
- ↑ Rauschmayer, Axel. "Chapter 3: The Nature of JavaScript; Influences". O'Reilly, Speaking JavaScript. 15 May 2015 khòaⁿ--ê.
- ↑ "Why We Created Julia". Julia website. February 2012. 5 June 2014 khòaⁿ--ê.
We want something as usable for general programming as Python [...]
- ↑ Ring Team (4 December 2017). "Ring and other languages". ring-lang.net. ring-lang.
- ↑ 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.
- ↑ 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.
- ↑ Henderson, Harry (2008). "Python". Encyclopedia of Computer Science and Technology (Revised Edition). Facts On File.
參考文獻 [修改]
- "Python for Artificial Intelligence". Wiki.python.org. 19 July 2012. goân-loē-iông tī 1 November 2012 hőng khó͘-pih. 3 December 2012 khòaⁿ--ê.
- Paine, Jocelyn, pian. (August 2005). "哀in Python". 哀Expert Newsletter. Amzi!. goân-loē-iông tī 26 March 2012 hőng khó͘-pih. 11 February 2012 khòaⁿ--ê.
- "PyAIML 0.8.5 : Python Package Index". Pypi.python.org. 17 July 2013 khòaⁿ--ê.
- Russell, Stuart J。; Norvig, Peter (2009). Artificial Intelligence: A Modern Approach (3rd pán.). Upper Saddle River, NJ: Prentice Hall. ISBN 978-0-13-604259-4.