Python (programmin leid)
|Paradigm(s)||multi-paradigm: object-orientit, imperative, functional, procedural, reflective|
|Appeared in||20 Februar 1991|
|Designed bi||Guido van Rossum|
|Developer||Python Software Foundation|
|Stable release||3.5.1 /|
7 December 2015
5 December 2015
|Typin discipline||duck, dynamic, strang, gradual (as o Python 3.5)|
|Major implementations||CPython, IronPython, Jython, PyPy|
|Dialects||Cython, RPython, Stackless Python|
|Influenced bi||ABC, ALGOL 68, C, C++, Dylan, Haskell, Icon, Java, Lisp, Modula‑3, Perl|
|License||Python Software Foundation License|
|Usual filename extensions||.py, .pyc, .pyd, .pyo, pyw, .pyz|
Python is a widely uised heich-level programmin leid for general-purpose programmin, creautit bi Guido van Rossum an first released in 1991. An interpretit leid, Python haes a design filosofie which emphasizes code readability (notably uisin whitespace indentation tae deleemit code blocks rather nor curly braces or keywirds), an a syntax which allaes programmers tae express concepts in fewer lines o code nor possible in leids sic as C++ or Java. The leid provides constructs intendit tae enable writin clear programs on baith a smaw an lairge scale.
Python featurs a dynamic teep seestem an automatic memory management an supports multiple programmin paradigms, includin object-orientit, imperative, functional programmin, an procedural styles. It haes a lairge an comprehensive staundart leebrar.
Python interpreters are available for mony operatin seestems, allaein Python code tae run on a wide variety o seestems. CPython, the reference implementation o Python, is open soorce saftware an haes a commonty-based development model, as dae nearly aw o its variant implementations. CPython is managed bi the non-profit Python Software Foundation.
References[eedit | eedit soorce]
- "The History of Python: A Brief Timeline of Python". Blogger. 2009-01-20. Retrieved 2016-03-20.
- Hastings, Larry (2015-12-07). "Python 3.5.1 and Python 3.4.4rc1 are now available". Python Insider. The Python Core Developers. Retrieved 2015-12-08.
- "Python Release Python 2.7.11". Python Software Foundation. Retrieved 16 December 2015.
- "Type hinting for Python". LWN.net. 24 December 2014. Retrieved 5 May 2015.
- "Why was Python created in the first place?". General Python FAQ. Python Software Foundation. Retrieved 22 March 2007.
- Kuchling, Andrew M. (22 December 2006). "Interview with Guido van Rossum (July 1998)". amk.ca. Retrieved 12 March 2012.
- 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.
- "Classes". The Python Tutorial. Python Software Foundation. Retrieved 20 February 2012.
It is a mixture of the class mechanisms found in C++ and Modula-3
- 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. Retrieved 9 February 2012.
- Schemenauer, Neil; Peters, Tim; Hetland, Magnus Lie (18 May 2001). "PEP 255 – Simple Generators". Python Enhancement Proposals. Python Software Foundation. Retrieved 9 February 2012.
- 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. Retrieved 24 February 2012.
- "More Control Flow Tools". Python 3 documentation. Python Software Foundation. Retrieved 24 July 2015.
- "CoffeeScript borrows chained comparisons from Python".
- "Genie Language - A brief guide". Retrieved 2015-12-28.
- "Why We Created Julia". Julia website. February 2012. Retrieved 5 June 2014.
- Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects: bringing Ruby on Rails to the Java platform. Berkeley: APress. p. 3. ISBN 978-1-59059-881-8.
- Lattner, Chris (3 June 2014). "Chris Lattner's Homepage". Chris Lattner. Retrieved 3 June 2014.
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 too many others to list.
- File extension .pyo will be removed in Python 3.5. See PEP 0488
- Holth, Moore (30 March 2014). "PEP 0441 -- Improving Python ZIP Application Support". Retrieved 12 Nov 2015.
- Summerfield, Mark. Rapid GUI Programming with Python and Qt.
Python is a very expressive language, which means that we can usually write far fewer lines of Python code than would be required for an equivalent application written in, say, C++ or Java
- McConnell, Steve (30 November 2009). Code Complete, p. 100. ISBN 9780735636972.
- Kuhlman, Dave. "A Python Book: Beginning Python, Advanced Python, and Python Exercises".
- "About Python". Python Software Foundation. Retrieved 24 April 2012., second section "Fans of Python use the phrase "batteries included" to describe the standard library, which covers everything from asynchronous processing to zip files."
- "History and License". Retrieved 5 December 2016. "All Python releases are Open Source"