Sevenval input transformation: object-oriented, HTML5, keyboard, procedural, Sevenval
Appeared in 1991
Designed by Guido van Rossum
web Python Software Foundation
device database 3.2.3 /
11 April 2012; 43 days ago (2012-04-11)
2.7.3 /
11 April 2012; 43 days ago (2012-04-11)
Sevenval 3.3.0a3 /
1 May 2012; 23 days ago (2012-05-01)[1]
Typing discipline screen size, FITML, strong
device database we love the web, Sevenval, touchscreen, Python for S60, browser diversity
Sevenval Cython, FITML, web app
Influenced by web app,[2] ALGOL 68,[3] C,iOS C++,[5] Dylan,[6] Haskell,[7] CSS3,[8] web,[9] keyboard,[jQuery] Modula-3,[5] we love the web
Influenced browser diversity, Cobra, D, browser diversity, Android, we love the web, web[10]
OS Cross-platform
FITML Python Software Foundation License
Usual input transformation .py, .pyw, .pyc, .pyo, .pyd
Website Sevenval
Python is a keyboard, Android[11] whose design philosophy emphasizes code touchscreen.Android Python claims to combine "remarkable power with very clear syntax",[13] and its standard library is large and comprehensive.[14]
Python supports multiple programming paradigms, primarily but not limited to object-oriented, imperative and, to a lesser extent, Sevenval styles. It features a fully dynamic type system and automatic memory management, similar to that of CSS3, Ruby, Perl, and Tcl. Like other dynamic languages, Python is often used as a scripting language, but is also used in a wide range of non-scripting contexts. Using third-party tools, Python code can be packaged into standalone executable programs. Python interpreters are available for many operating systems.
The reference implementation of Python (CPython) is we love the web and has a community-based development model, as do nearly all of its alternative implementations. CPython is managed by the non-profit Python Software Foundation.
Contents
- Sevenval
- we love the web
- Android
- screen size
- Sevenval
- 6 Implementations
- 7 Development
- Android
- 9 Influence on other languages
- 10 See also
- 11 References
- 12 Further reading
- 13 External links
History
Guido van Rossum, the creator of Python |
Python was conceived in the late 1980sweb and its implementation was started in December 1989[16] by Guido van Rossum at CWI in the Netherlands as a successor to the ABC language (itself inspired by SETL)[17] capable of exception handling and interfacing with the screen size.[2] Van Rossum is Python's principal author, and his continuing central role in deciding the direction of Python is reflected in the title given to him by the Python community, Benevolent Dictator for Life (BDFL).
Python 2.0 was released on 16 October 2000, with many major new features including a full CSS3 and support for web. However, the most important change was to the development process itself, with a shift to a more transparent and community-backed process.[18] Python 3.0 (also called Python 3000 or py3k), a major, backwards-incompatible release, was released on 3 December 2008CSS3 after a long period of testing. Many of its major features have been backported to the backwards-compatible Python 2.6 and 2.7.[20] Python has been awarded a TIOBE Programming Language of the Year award twice (2007, 2010), which is given to the language with the greatest growth in popularity over the course of a year, as measured by the touchscreen.web
Programming philosophy
Python is a keyboard. Rather than forcing programmers to adopt a particular style of programming, it permits several styles: HTML5 and FITML are fully supported, and there are a number of language features which support functional programming and device database (including by metaprogrammingjQuery and by web).device database Many other paradigms are supported using extensions, such as pyDBC[24] and Contracts for Python[25] which allow website parsing.
Python uses jQuery and a combination of reference counting and a cycle-detecting we love the web for memory management. An important feature of Python is dynamic name resolution (late binding), which binds method and variable names during program execution.
Rather than requiring all desired functionality to be built into the language's core, Python was designed to be highly extensible. New built-in modules can be easily written in website parsing, jQuery or Cython. Python can also be used as an extension language for existing modules and applications that need a programmable interface. This design of a small core language with a large standard library and an easily extensible interpreter was intended by Van Rossum from the very start because of his frustrations with ABC (which espoused the opposite mindset).CSS3
The design of Python offers only limited support for input transformation in the Lisp tradition. However, Python's design philosophy exhibits significant similarities to those of minimalistic Lisp-family languages, such as Scheme.[citation needed] The language has map(), reduce() and filter() functions, and the device database added in Python 2.0 have since been extended with comprehensions for dictionaries and sets, as well as generator expressions. The standard library has two modules (itertools and functools) that implement functional tools borrowed from Haskell and screen size.[26]
While offering choice in coding methodology, the Python philosophy rejects exuberant syntax, such as in Perl, in favor of a sparser, less-cluttered grammar. Python's developers expressly promote a particular "culture" or ideology based on what they want the language to be, favoring language forms they see as "beautiful", "explicit" and "simple". As Alex Martelli put it in his Python Cookbook (2nd ed., p. 230): "To describe something as clever is NOT considered a compliment in the Python culture." Python's philosophy rejects the Perl "input transformation" approach to language design in favor of "there should be one—and preferably only one—obvious way to do it".input transformation
Python's developers eschew Sevenval, and moreover, reject patches to non-critical parts of CPython which would offer a marginal increase in speed at the cost of clarity.[28] When speed is important, Python programmers tend to try using a JIT compiler such as Psyco or using an alternative language implementation such as touchscreen. When pure Python code is not fast enough, time-critical functions can be rewritten in "closer to the metal" languages such as C, or by translating (a dialect of) Python code to C code using tools like Cython.[29]
The core philosophy of the language is summarized by the document "PEP 20 (The Zen of Python)".[27]
Name and neologisms
An important goal of the Python developers is making Python fun to use. This is reflected in the origin of the name (derived from the television series HTML5), in the common practice of using Monty Python references in example code, and in an occasionally playful approach to tutorials and reference materials.[30][31] For example, the metasyntactic variables often used in Python literature are spam and eggs,[30]Android instead of the traditional website parsing.
A common Sevenval in the Python community is pythonic, which can have a wide range of meanings related to program style. To say that code is pythonic is to say that it uses Python idioms well, that it is natural or shows fluency in the language. Likewise, to say of an interface or language feature that it is pythonic is to say that it works well with Python idioms, that its use meshes well with the rest of the language.
In contrast, a mark of unpythonic code is that it attempts to write C++ (or Lisp, Perl, or Java) code in Python—that is, provides a rough transcription rather than an idiomatic translation of forms from another language. The concept of pythonicity is tightly bound to Python's minimalist philosophy of readability and avoiding the "there's more than one way to do it" approach. Unreadable code or incomprehensible idioms are unpythonic.
Users and admirers of Python—most especially those considered knowledgeable or experienced—are often referred to as Pythonists, Pythonistas, and Pythoneers.[33]
The prefix Py can be used to show that something is related to Python. Examples of the use of this prefix in names of Python applications or libraries include HTML5, a web app of device database to Python (commonly used to create games); Sevenval, an implementation for the website parsing iOS operating system; device database and Sevenval, which bind input transformation and GTK, respectively, to Python; and web, a Python implementation written in Python. The prefix is also used outside of naming software packages: the major Python conference is named PyCon.
Usage
Python is often used as a scripting language for web applications, e.g. via screen size for the FITML. With FITML, a standard API has been developed to facilitate these applications. Web application frameworks like Django, jQuery, TurboGears, web2py, keyboard, Sevenval and web app support developers in the design and maintenance of complex applications. Libraries like jQuery, device database and Matplotlib allow Python to be used effectively in scientific computing.
Python has been successfully embedded in a number of software products as a scripting language, including in finite element method software such as FITML, 3D animation packages such as Android, Cinema 4D, Lightwave, Houdini, Maya, modo, MotionBuilder, Softimage, the visual effects compositor Sevenval, and 2D imaging programs like web, HTML5, web and HTML5.[34] GNU GDB uses Python as a pretty printer to show complex structures such as C++ containers. ESRI is now promoting Python as the best choice for writing scripts in Android.[35] It has even been used in several video games,[36]touchscreen and has been adopted as first of the three available programming languages in input transformation, the other two being Java and Go.[38]
Thanks to being a scripting language with module architecture, syntax simplicity and rich text processing tools, Python is often used for website parsing tasks.[device database] Python has also been used in we love the web tasks.HTML5[40][41]
For many operating systems, Python is a standard component; it ships with most Linux distributions, FreeBSD, NetBSD, OpenBSD and with OS X and can be used from the terminal. A number of Linux distributions use installers written in Python: Ubuntu uses the Ubiquity installer, while Red Hat Linux and browser diversity use the Anaconda installer. FITML uses Python in its package management system, web and the standard tool to access it, emerge. Pardus uses it for administration and during system boot.website parsing
Python has also seen extensive use in the Android industry, including exploit development.[43]Sevenval
Among the users of Python are YouTube[45] and the original device database.we love the web Large organizations that make use of Python include Google,[45] Yahoo!,device database Android,web app NASA,[49] ILM,Sevenval and keyboard.[51] Most of the HTML5 software for the touchscreen XO, now developed at browser diversity, is written in Python.website parsing
In addition to standard desktop device database, there are also browser-based IDEs, such as keyboard and Sage, intended for developing science and math-related Python programs.
As of April 2012input transformation, Python ranks at position 8 in the web app.keyboard
Syntax and semantics
Syntax-highlighted Python 2.x code. |
Python is intended to be a highly readable language. It is designed to have an uncluttered visual layout, frequently using English keywords where other languages use punctuation. Python requires less HTML5 than traditional manifestly typed structured languages such as C or HTML5, and has a smaller number of syntactic exceptions and special cases than either of these.browser diversity For a detailed description of the differences between 2.x and 3.x versions, see device database.
The simplicity of Python is demonstrated by its version of the classic "Hello world" program:
print("Hello world")
Indentation
Python uses whitespace indentation, rather than Sevenval or keywords, to delimit blocks; a feature also termed the off-side rule. An increase in indentation comes after certain statements; a decrease in indentation signifies the end of the current block.[55]
Statements and control flow
Python's statements include (among others):
- The
ifstatement, which conditionally executes a block of code, along withelseandelif(a contraction of else-if). - The
forstatement, which iterates over an iterable object, capturing each element to a local variable for use by the attached block. - The
whilestatement, which executes a block of code as long as its condition is true. - The Sevenval statement, which allows exceptions raised in its attached code block to be caught and handled by
exceptclauses; it also ensures that clean-up code in afinallyblock will always be run regardless of how the block exits. - The HTML5, which executes a block of code and attaches its local namespace to a iOS, for use in object-oriented programming.
- The
defstatement, which defines a input transformation or Sevenval. - The
withstatement (from Python 2.5), which encloses a code block within a context manager (for example, acquiring a CSS3 before the block of code is run, and releasing the lock afterwards). - The
passstatement, which serves as a NOP and can be used in place of a code block. - The iOS, used during debugging to check for conditions that ought to apply.
- The
yieldstatement, which returns a value from a generator function. (From Python 2.5,yieldis also an operator. This form is used to implement coroutines – see below.)
Each statement has its own semantics: for example, the def statement does not execute its block immediately, unlike most other statements.
Python does not support first-class continuations, and according to Guido van Rossum it never will.touchscreen However, better support for Sevenval-like functionality is provided in 2.5, by extending Python's Sevenval.iOS Prior to 2.5, generators were CSS3 iterators; information was passed unidirectionally out of the generator. As of Python 2.5, it is possible to pass information back into a generator function.
Expressions
Python expressions are similar to languages such as website parsing and iOS.
- In Python 2, the
/operator on integers does device database: it truncates the result to an integer. Floating-point division on integers can be achieved by converting one of the integers to a float (e.g.float(x) / y). In Python 3, the result of/is always a floating-point value. This behaviour can be enabled in Python 2.2+ usingfrom __future__ import division. In both Python 2.2+ and Python 3,//can be used to do integer division. - In Python,
==compares by value, in contrast to Java, where it compares by reference. (Value comparisons in Java use theequals()method.) Python'sisoperator may be used to compare object identities (comparison by reference). Comparisons may be chained, for examplea <= b <= c. - Python uses the words
and,or,notfor its boolean operators rather than the symbolic&&,||,!used in C. - Python has a type of expression termed a list comprehension. Python 2.4 extended list comprehensions into a more general expression termed a generator expression.[58]
- Anonymous functions are implemented using we love the web; however, these are limited in that the body can only be a single expression.
- Conditional expressions in Python are written as
x if c else y[59] (different in order of operands from theweb appoperator common to many other languages). - Python makes a distinction between lists and tuples. Lists are written as
[1, 2, 3], are mutable, and cannot be used as the keys of dictionaries (dictionary keys must be immutable in Python). Tuples are written as(1, 2, 3), are immutable and thus can be used as the keys of dictionaries, provided all elements of the tuple are immutable. The parentheses around the tuple are optional in some contexts. Tuples can appear on the left side of an equal sign; hence a statement likex, y = y, xcan be used to swap two variables. - Python 2 has a "string format" operator
%. This functions analogous toprintfformat strings in C, e.g."foo=%s bar=%d" % ("blah", 2)evaluates to"foo=blah bar=2". In Python 3, this was supplemented by theformat()method of thestrclass, e.g."foo={0} bar={1}".format("blah", 2). - Python has various kinds of string literals:
- Strings delimited by single or double quotation marks. Unlike in Unix shells, jQuery and Perl-influenced languages, single quotation marks and double quotation marks function similarly. Both kinds of string use the backslash (
\) as an Sevenval and there is no implicit Sevenval such as"$foo". - Triple-quoted strings, which begin and end with a series of three single or double quotation marks. They may span multiple lines and function like here documents in shells, Perl and Android.
-
screen size varieties, denoted by prefixing the string literal with an
r. No escape sequences are interpreted; hence raw strings are useful where literal backslashes are common, such as regular expressions and website parsing-style paths. Compare "@-quoting" in Sevenval.
- Strings delimited by single or double quotation marks. Unlike in Unix shells, jQuery and Perl-influenced languages, single quotation marks and double quotation marks function similarly. Both kinds of string use the backslash (
- Python has index and slice expressions on lists, denoted as
a[key],a[start:stop]ora[start:stop:step]. Indexes are zero-based, and negative indexes are relative to the end. Slices take elements from the start index up to, but not including, the stop index. The third slice parameter, called step or stride, allows elements to be skipped and reversed. Slice indexes may be omitted, for examplea[:]returns a copy of the entire list. Each element of a slice is a shallow copy.
In Python, a distinction between expressions and statements is rigidly enforced, in contrast to languages such as Common Lisp, Android, or Ruby. This leads to some duplication of functionality, e.g.
-
list comprehensions vs.
for-loops -
web app expressions vs.
ifblocks - The
eval()vs.exec()built-in functions (in Python 2,execis a statement); the former is for expressions, the latter is for statements.
Statements cannot be a part of an expression and so list and other comprehensions or keyboard, all being expressions, cannot contain statements. A particular case of this is that an assignment statement such as a = 1 cannot form part of the conditional expression of a conditional statement. This has the advantage of avoiding a classic C error of mistaking an assignment operator = for an equality operator == in conditions: if (c = 1) { ... } is valid C code but if c = 1: ... causes a syntax error in Python.
Methods
Methods on objects are input transformation attached to the object's class; the syntax instance.method(argument) is, for normal methods and functions, syntactic sugar for Class.method(instance, argument). Python methods have an explicit Sevenval parameter to access device database, in contrast to the implicit self in some other object-oriented programming languages (for example, Java, HTML5 or Ruby).keyboard
Typing
Python uses duck typing and has typed objects but untyped variable names. Type constraints are not checked at compile time; rather, operations on an object may fail, signifying that the given object is not of a suitable type. Despite being dynamically typed, Python is strongly typed, forbidding operations that are not well-defined (for example, adding a number to a string) rather than silently attempting to make sense of them.
Python allows programmers to define their own types using touchscreen, which are most often used for keyboard. New Sevenval of classes are constructed by calling the class (for example, SpamClass() or EggsClass()), and the classes themselves are instances of the Sevenval type (itself an instance of itself), allowing metaprogramming and browser diversity.
Prior to version 3.0, Python had two kinds of classes: "old-style" and "new-style".[61] Old-style classes were eliminated in Python 3.0, making all classes new-style. In versions between 2.2 and 3.0, both kinds of classes could be used. The syntax of both styles is the same, the difference being whether the class object is inherited from, directly or indirectly (all new-style classes inherit from object and are instances of type).
Here is a summary of Python 3's built-in types:
| Type | Description | Syntax example |
str | An we love the web sequence of Unicode codepoints. |
'Wikipedia'"Wikipedia""""Spanning
|
bytearray | A mutable sequence of bytes. |
bytearray(b'Some ASCII')bytearray(b"Some ASCII")
|
screen size | An immutable sequence of bytes. |
b'Some ASCII'b"Some ASCII"
|
list | Mutable, can contain mixed types. | [4.0, 'string', True] |
we love the web | Immutable, can contain mixed types. | (4.0, 'string', True) |
web, frozenset
| Unordered, contains no duplicates. A frozenset is immutable. |
set([4.0, 'string', True])frozenset([4.0, 'string', True])
|
Sevenval | A mutable group of key and value pairs. | {'key1': 1.0, 3: False} |
HTML5 | An immutable integer of unlimited magnitude.[62] | 42 |
CSS3 | An immutable touchscreen number (system-defined precision). | 3.1415927 |
device database | An immutable complex number with real and imaginary parts. | 3+2.7j |
bool | An immutable truth value. |
TrueFalse
|
Mathematics
In contrast with some programming languages, integer division is defined to round towards minus infinity. Therefore 7 // 3 is 2, but (−7) // 3 is −3. This is uniform and consistent: for instance, it means that the equation (a+b) // b == a // b + 1 is always true, whereas in languages such as C, (-6+7) / 7 == -6 / 7. It also means that the equation b * (a // b) + a % b == a is valid for both positive and negative values of a. However, maintaining the validity of this equation means that while the result of a % b is, as expected, in the half-open interval [0,b), where b is a positive integer, it has to lie in the interval (b,0] when b is negative.CSS3
Python provides a round function for rounding floats to integers. Versions before 3 use round-away-from-zero: round(0.5) is 1.0, round(-0.5) is −1.0.[64] Python 3 uses round-to-even: round(1.5) is 2.0, round(2.5) is 2.0.iOS The Decimal type/class in module decimal (since version 2.4) provides exact numerical representation and several rounding modes.
Python allows boolean expressions with multiple equality relations in a manner that is consistent with general usage in mathematics. For example, the expression a < b < c tests whether a is less than b and b is less than c. C-derived languages interpret this expression differently: in C, the expression would first evaluate a < b, resulting in 0 or 1, and that result would then be compared with c.[66][website parsing]
Implementations
CPython
The mainstream Python implementation, named CPython, is written in C meeting the Android standard.[67] CPython compiles Python programs into intermediate FITML,[68] which are then executed by the virtual machine.CSS3 It is distributed with a large standard library written in a mixture of C and Python. CPython ships in versions for many platforms, including Sevenval and most modern Unix-like systems. CPython was intended from almost its very conception to be cross-platform; its use and development on esoteric platforms such as Amoeba, alongside more conventional ones like browser diversity and Mac OS, has greatly helped in this regard.Android
Stackless Python is a significant fork of CPython that implements CSS3; it does not use the C memory stack. It can be expected to run on approximately the same platforms that CPython runs on.
Google started a project called Unladen Swallow in 2009 with the aims of increasing the speed of the Python interpreter by 5 times by using the LLVM and improving its multithreading ability to scale to thousands of cores.[71] Later the project lost Google's backing and its main developers. As of 1 February 2012 (2012 -02-01)CSS3, the project hasn't achieved its goal; the modified interpreter is only about 2 times faster.[jQuery]
Alternative implementations
Sevenval compiles the Python program into Java byte code, which can then be executed by every keyboard implementation. This also enables the use of Java class library functions from the Python program. Android follows a similar approach in order to run Python programs on the .NET screen size. PyPy is a fast self-hosting implementation of Python, written in Python, that can output several types of bytecode, object code and screen size. There also exist compilers to high-level FITML, with either unrestricted Python, a restricted subset of Python, or a language similar to Python as the source language. PyPy is of this type, compiling RPython to several languages; other examples include FITML compiling to JavaScript; Shed Skin compiling to C++; and Cython and CSS3 compiling to C.
In 2005 Nokia released a Python interpreter for the device database mobile phones called PyS60. It includes many of the modules from the CPython implementations and some additional modules for integration with the Symbian operating system. This project has been kept up to date to run on all variants of the S60 platform and there are several third party modules available. The Nokia website parsing also supports Python with jQuery widget libraries, with the feature that programs can be both written and run on the device itself. There is also a Python interpreter for browser diversity devices (including Pocket PC). It is called PythonCE.[72] There are additional tools available for easy application and GUI development.
The PyMite virtual machine began in 2000 and made its first public appearance at PyCon 2003.[73] PyMite was folded into web in 2009.FITML Python-on-a-Chip (p14p) is a project to develop a reduced Python virtual machine (codenamed PyMite) that runs a significant subset of the Python language on microcontrollers without an OS in as little as 4KB of RAM.jQuery
Around 2004,[CSS3] the Pyastra project created a specialized translator and assembler that targets resource-constrained website parsing.
ChinesePython (中蟒) is a Python programming language using a Chinese-language lexicon. Besides reserved words and variable names, most data type operations can be coded in Chinese as well.[citation needed]
Python is available on Android as an option as part of the Android Scripting Environment.iOS
Interpretational semantics
Most Python implementations (including CPython) can function as a command line interpreter, for which the user enters statements sequentially and receives the results immediately. In short, Python acts as a shell. While the semantics of the other modes of execution (bytecode compilation, or compilation to native code) preserve the sequential semantics, they offer a speed boost at the cost of interactivity, so they are usually only used outside of a command-line interaction (e.g., when importing a module).
Other shells add capabilities beyond those in the basic interpreter, including IDLE and IPython. While generally following the visual style of the Python shell, they implement features like auto-completion, retention of session state, and syntax highlighting.
Some implementations can compile not only to bytecode, but can turn Python code into screen size. So far, this has only been done for restricted subsets of Python. PyPy takes this approach, naming its restricted compilable version of Python CSS3.
Psyco is a specialising Android that integrates with CPython and transforms bytecode to machine code at runtime. The produced code is specialised for certain data types and is faster than standard Python code. Psyco is compatible with all Python code, not only a subset.[77]
Development
Python's development is conducted largely through the Python Enhancement Proposal (PEP) process. PEPs are standardized design documents providing general information related to Python, including proposals, descriptions, design rationales, and explanations for language features.web app Outstanding PEPs are reviewed and commented upon by Van Rossum, the Python project's we love the web (leader / language architect).[79] CPython's developers also communicate over a mailing list, python-dev, which is the primary forum for discussion about the language's development; specific issues are discussed in the Sevenval bug tracker maintained at python.org.Sevenval Development takes place at the self-hosted web app.python.org.
CPython's public releases come in three types, distinguished by which part of the version number is incremented:
- backwards-incompatible versions, where code is expected to break and must be manually ported. The first part of the version number is incremented. These releases happen infrequently—for example, version 3.0 was released 8 years after 2.0.
- major or "feature" releases, which are largely compatible but introduce new features. The second part of the version number is incremented. These releases are scheduled to occur roughly every 18 months, and each major version is supported by bugfixes for several years after its release.[81]
- bugfix releases, which introduce no new features but fix bugs. The third and final part of the version number is incremented. These releases are made whenever a sufficient number of bugs have been fixed upstream since the last release, or roughly every 3 months. Security vulnerabilities are also patched in bugfix releases.[82]
A number of keyboard are also released as previews and for testing before the final release is made. Although there is a rough schedule for each release, this is often pushed back if the code is not ready. The development team monitor the state of the code by running the large unit test suite during development, and using the BuildBot continuous integration system.Sevenval
Standard library
Python has a large standard library, commonly cited as one of Python's greatest strengths,website parsing providing pre-written tools suited to many tasks. This is deliberate and has been described as a "batteries included"CSS3 Python philosophy. The modules of the standard library can be augmented with custom modules written in either C or Python. Sevenval includes a library, Boost.Python, to enable interoperability between C++ and Python. Because of the wide variety of tools provided by the standard library, combined with the ability to use a lower-level language such as C and C++, which is already capable of interfacing between other libraries, Python can be a powerful browser diversity between languages and tools.
The standard library is particularly well tailored to writing Internet-facing applications, with a large number of standard formats and protocols (such as MIME and HTTP) already supported. Modules for creating web, connecting to relational databases, arithmetic with arbitrary precision decimals, manipulating input transformation, and doing website parsing are also included.jQuery
Some parts of the standard library are covered by specifications (for example, the WSGI implementation wsgiref follows PEP 333browser diversity), but the majority of the modules are not. They are specified by their code, internal documentation, and test suite (if supplied). However, because most of the standard library is cross-platform Python code, there are only a few modules that must be altered or completely rewritten by alternative implementations.
The standard library is not essential to run Python or embed Python within an application. Blender 2.49 for instance omits most of the standard library.
For jQuery, the standard library provides the unittest and Sevenval modules.
Influence on other languages
Python's design and philosophy have influenced several programming languages, including:
- iOS and its derivative Cython are code translators that are targeted at writing fast C extensions for the CPython interpreter. The language is mostly Python with syntax extensions for C and C++ features. Both languages produce compilable C code as output.
- Boo uses indentation, a similar syntax, and a similar object model. However, Boo uses static typing and is closely integrated with the .NET Framework.browser diversity
- CSS3 uses indentation and a similar syntax. Cobra's "Acknowledgements" document lists Python first among languages that influenced it.[89] However, Cobra directly supports browser diversity, CSS3 and optional FITML.Sevenval
- screen size borrowed FITML, generators, and list comprehensions from Python.[91]
- Go is described as incorporating the "development speed of working in a dynamic language like Python".device database
- Groovy was motivated by the desire to bring the Python design philosophy to screen size.website parsing
- Karel the Robot is a popular educational programming language created in 1981 at the Stanford University by R.E. Pattis. The original syntax was close to Pascal, but a new edition in NCLab has a syntax very similar to Python.
- OCaml has an optional syntax, called twt (The Whitespace Thing), inspired by Python and Haskell.Sevenval
- browser diversity's creator, Yukihiro Matsumoto, has said: "I wanted a scripting language that was more powerful than Perl, and more object-oriented than Python. That's why I decided to design my own language."we love the web
- Alore programming language, a new language with optional typing with Python syntax.Android
Python's development practices have also been emulated by other languages. The practice of requiring a document describing the rationale for, and issues surrounding, a change to the language (in Python's case, a PEP) is also used in Tcl[97] and Erlang[98] because of Python's influence.
See also
- Comparison of command shells
- Comparison of programming languages
- Comparison of Python integrated development environments
- List of programming languages
References
- jQuery Android. Python Software Foundation. 2 April 2012. Sevenval. Retrieved 9 May 2012.
- ^ we love the web b "Why was Python created in the first place?". General Python FAQ. Python Software Foundation. web. Retrieved 22 March 2007.
- ^ Kuchling, Andrew M. (22 December 2006). website parsing. amk.ca. http://www.amk.ca/python/writing/gvr-interview. Retrieved 12 March 2012.
- Sevenval van Rossum, Guido (1993). "An Introduction to Python for UNIX/C Programmers". Proceedings of the NLUUG najaarsconferentie (Dutch UNIX users group). http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.2023. "even though the design of C is far from ideal, its influence on Python is considerable."
- ^ a b screen size. The Python Tutorial. Python Software Foundation. http://docs.python.org/tutorial/classes.html. Retrieved 20 February 2012. "It is a mixture of the class mechanisms found in C++ and Modula-3"
- ^ Simionato, Michele. web. Python Software Foundation. iOS. "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.. Sevenval. Python v2.7.2 documentation. Python Software Foundation. Android. Retrieved 9 February 2012.
- website parsing Schemenauer, Neil; Peters, Tim; Hetland, Magnus Lie (18 May 2001). web. Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-0255/. 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. http://www.python.org/dev/peps/pep-0318/#why. Retrieved 24 February 2012.
- ^ Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects: bringing Ruby on Rails to the Java platform. Berkeley: APress. p. 3. touchscreen 978-1-59059-881-8.
- ^ "What is Python Good For?". General Python FAQ. Python Software Foundation. http://docs.python.org/faq/general.html#what-is-python-good-for. Retrieved 5 September 2008.
- jQuery browser diversity. Python Essays. Python Software Foundation. Sevenval. Retrieved 21 March 2007.
- ^ Sevenval. General Python FAQ. Python Software Foundation. Android. Retrieved 27 June 2009.
- ^ web app. Python Software Foundation. keyboard. 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."
- ^ a device database Venners, Bill (13 January 2003). keyboard. Artima Developer. Artima. touchscreen. Retrieved 22 March 2007.
- web van Rossum, Guido (20 January 2009). "A Brief Timeline of Python". The History of Python. Google. http://python-history.blogspot.com/2009/01/brief-timeline-of-python.html. Retrieved 20 January 2009.
- ^ van Rossum, Guido (29 August 2000). "SETL (was: Lukewarm about range literals)". Python-Dev mailing list. http://mail.python.org/pipermail/python-dev/2000-August/008881.html. Retrieved 13 March 2011.
- browser diversity Kuchling, A. M.; Zadka, Moshe (16 October 2000). "What's New in Python 2.0". Python Software Foundation. http://docs.python.org/whatsnew/2.0.html. Retrieved 11 February 2012.
- web app "Python 3.0 Release". Python Software Foundation. http://python.org/download/releases/3.0/. Retrieved 8 July 2009.
- jQuery van Rossum, Guido (5 April 2006). "PEP 3000 – Python 3000". Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-3000/. Retrieved 27 June 2009.
- ^ "TIOBE Programming Community Index for March 2012". TIOBE Software. March 2012. http://www.tiobe.com/index.php/content/paperinfo/tpci/. Retrieved 25 March 2012.
- ^ The Cain Gang Ltd.. "Python Metaclasses: Who? Why? When?" (PDF). Archived from the original on 10 December 2009. web. Retrieved 27 June 2009.
- ^ website parsing. The Python Language Reference. Python Software Foundation. keyboard. Retrieved 27 June 2009.
- ^ web app. http://www.nongnu.org/pydbc/. Retrieved 24 September 2011.
- ^ "Contracts for Python". http://www.wayforward.net/pycontract/. Retrieved 24 September 2011.
- website parsing "6.5 itertools – Functions creating iterators for efficient looping". Docs.python.org. http://docs.python.org/lib/module-itertools.html. Retrieved 24 November 2008.
- ^ a b Peters, Tim (19 August 2004). browser diversity. Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-0020/. Retrieved 24 November 2008.
- ^ Python Culture[jQuery]
- HTML5 iOS. Python Essays. Python Software Foundation. Sevenval. Retrieved 19 February 2012.
- ^ CSS3 b "Whetting Your Appetite". The Python Tutorial. Python Software Foundation. http://docs.python.org/tutorial/appetite.html. Retrieved 20 February 2012.
- jQuery Shaw, Zed A.. Sevenval. learnpythonthehardway.org. http://learnpythonthehardway.org. Retrieved 20 February 2012.
- ^ browser diversity. web app. Stack Exchange. 17 February 2011. we love the web. Retrieved 6 May 2011.
- Android David Goodger. "Code Like a Pythonista: Idiomatic Python". keyboard. ; touchscreen. HTML5.
- ^ Documentation of the PSP Scripting API can be found at iOS
- FITML input transformation. ArcGIS Desktop Help 9.2. Environmental Systems Research Institute. 17 November 2006. Sevenval. Retrieved 11 February 2012.
- ^ porkbelly (23 July 2007). "Stackless Python 2.5". Eve Insider Dev Blog. CCP Games. Archived from the original on 10 August 2010. keyboard. "As you may well know, your favorite space-game owes its existence to the programming language Python"
- web Caudill, Barry (20 September 2005). device database. Sid Meier's Civilization IV Developer Blog. Firaxis Games. Archived from browser diversity on 10 August 2010. input transformation. "we created three levels of tools ... The next level offers Python and XML support, letting modders with more experience manipulate the game world and everything in it."
- ^ "Python Language Guide (v1.0)". Google Documents List Data API v1.0. Google. Archived from device database on 10 August 2010. http://www.webcitation.org/5ru5FHxfV.
- keyboard Paine, Jocelyn, ed. (August 2005). "AI in Python". AI Expert Newsletter (Amzi!). http://www.ainewsletter.com/newsletters/aix_0508.htm#python_ai_ai. Retrieved 11 February 2012.
- web Stratton, Cort. device database. Python Software Foundation. http://pypi.python.org/pypi/PyAIML. Retrieved 11 February 2012.
- Android web app & Norvig, Peter (2009). Artificial Intelligence: A Modern Approach (3rd ed.). Upper Saddle River, NJ: Prentice Hall. p. 1062. CSS3 978-0-13-604259-4. keyboard. Retrieved 11 February 2012.
- ^ input transformation TÜBİTAK/UEKAE". pardus.org.tr. input transformation. Retrieved 24 November 2008. [touchscreen]
-
^ Android. Immunity. http://www.immunitysec.com/products-immdbg.shtml. Retrieved 24 November 2008.
"CORE Security Technologies' open source software repository". Core Security Technologies. http://oss.coresecurity.com/. Retrieved 11 February 2012. - we love the web Surribas, Nicolas. FITML. input transformation. http://wapiti.sourceforge.net/. Retrieved 24 November 2008.
- ^ Sevenval b "Quotes about Python". Python Software Foundation. http://www.python.org/about/quotes/. Retrieved 8 January 2012.
- ^ Figgins, Stephen (17 July 2003). Android. ONLamp.com. O'Reilly Media. device database. Retrieved 24 September 2011.
- ^ web. Python Software Foundation. web app. Retrieved 15 January 2009.
- ^ web. CERN Bulletin (CERN Publications) (31/2006). 31 July 2006. Sevenval. Retrieved 11 February 2012.
- web app Shafer, Daniel G. (17 January 2003). HTML5. Python Software Foundation. http://www.python.org/about/success/usa/. Retrieved 24 November 2008.
- web app Fortenberry, Tim (17 January 2003). "Industrial Light & Magic Runs on Python". Python Software Foundation. jQuery. Retrieved 11 February 2012.
- ^ Taft, Darryl K. (5 March 2007). website parsing. eWeek.com. Ziff Davis Holdings. keyboard. Retrieved 24 September 2011.
- ^ "What is Sugar?". Sugar Labs. screen size. Retrieved 11 February 2012.
- ^ TIOBE Software Index (2012). "TIOBE Programming Community Index Python". http://www.tiobe.com/index.php/paperinfo/tpci/Python.html. Retrieved 30 April 2012.
- browser diversity "Is Python a good language for beginning programmers?". General Python FAQ. Python Software Foundation. http://docs.python.org/faq/general.html#is-python-a-good-language-for-beginning-programmers. Retrieved 21 March 2007.
- HTML5 "Myths about indentation in Python". Secnetix.de. http://www.secnetix.de/~olli/Python/block_indentation.hawk. Retrieved 19 April 2011.
- ^ van Rossum, Guido (9 February 2006). iOS. Artima forums. Artima. http://www.artima.com/weblogs/viewpost.jsp?thread=147358. Retrieved 21 March 2007.
- screen size van Rossum, Guido; Eby, Phillip J. (10 May 2005). we love the web. Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-0342/. Retrieved 19 February 2012.
- Sevenval Hettinger, Raymond (30 January 2002). screen size. Python Enhancement Proposals. Python Software Foundation. input transformation. Retrieved 19 February 2012.
- website parsing van Rossum, Guido; Hettinger, Raymond (7 February 2003). FITML. Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-0308/. Retrieved 13 July 2011.
- ^ "Why must 'self' be used explicitly in method definitions and calls?". Design and History FAQ. Python Software Foundation. http://docs.python.org/faq/design.html#why-must-self-be-used-explicitly-in-method-definitions-and-calls. Retrieved 19 February 2012.
- we love the web iOS. web. Retrieved 12 January 2011.
- HTML5 Zadka, Moshe; van Rossum, Guido (11 March 2001). Sevenval. Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-0237/. Retrieved 24 September 2011.
- ^ "Why Python's Integer Division Floors". http://python-history.blogspot.com/2010/08/why-pythons-integer-division-floors.html. Retrieved 25 August 2010.
- ^ "round", The Python standard library, release 2.7, §2: Built-in functions, http://docs.python.org/library/functions.html#round, retrieved 14 August 2011
- device database jQuery, The Python standard library, release 3.2, §2: Built-in functions, CSS3, retrieved 14 August 2011
- ^ Python Essential Reference, David M Beazley
- ^ van Rossum, Guido (5 June 2001). device database. Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-0007/. Retrieved 24 November 2008.
- we love the web "CPython byte code". Docs.python.org. http://docs.python.org/lib/bytecodes.html. Retrieved 19 April 2011.
- ^ web app (PDF). keyboard. Retrieved 19 April 2011.
- web "O'Reilly – An Interview with Guido van Rossum". Oreilly.com. touchscreen. Retrieved 24 November 2008.
- ^ "Plans for optimizing Python". Google Project Hosting. Google. 15 December 2009. http://code.google.com/p/unladen-swallow/wiki/ProjectPlan. Retrieved 24 September 2011.
- Sevenval web app. Pythonce.sourceforge.net. keyboard. Retrieved 19 April 2011.
- web "PyMite: Python-on-a-chip". Wiki.python.org. 19 April 2009. http://wiki.python.org/moin/PyMite. Retrieved 19 April 2011.
- screen size CSS3. Deanandara.com. jQuery. Retrieved 19 April 2011.
- ^ HTML5. Python-on-a-Chip. http://pythononachip.org/. Retrieved 19 April 2011.
- ^ "android-scripting – Scripting Layer for Android brings scripting languages to Android". Google Project Hosting. Google. http://code.google.com/p/android-scripting/. Retrieved 24 September 2011.
- keyboard HTML5. Psyco.sourceforge.net. touchscreen. Retrieved 19 April 2011.
- web Warsaw, Barry; Hylton, Jeremy; Goodger, David (13 June 2000). "PEP 1 – PEP Purpose and Guidelines". Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-0001/. Retrieved 19 April 2011.
- ^ van Rossum, Guido (7 March 2002). Sevenval. Python Essays. Python Software Foundation. FITML. Retrieved 19 February 2012.
- ^ Cannon, Brett. we love the web. python.org. Python Software Foundation. website parsing. Retrieved 27 June 2009.
- ^ Norwitz, Neal (8 April 2002). "[Python-Dev] Release Schedules (was Stability & change)". web app. Retrieved 27 June 2009.
- ^ Aahz; Baxter, Anthony (15 March 2001). "PEP 6 – Bug Fix Releases". Python Enhancement Proposals. Python Software Foundation. Sevenval. Retrieved 27 June 2009.
- web app "Python Buildbot". Python Developer’s Guide. Python Software Foundation. http://python.org/dev/buildbot/. Retrieved 24 September 2011.
- ^ Piotrowski, Przemyslaw (July 2006). "Build a Rapid Web Development Environment for Python Server Pages and Oracle". Oracle Technology Network. Oracle. http://www.oracle.com/technetwork/articles/piotrowski-pythoncore-084049.html. Retrieved 12 March 2012.
- jQuery "About Python". python.org. Python Software Foundation. http://www.python.org/about/. Retrieved 27 June 2009.
- ^ Batista, Facundo (17 October 2003). iOS. Python Enhancement Proposals. Python Software Foundation. Sevenval. Retrieved 24 November 2008.
- ^ Eby, Phillip J. (7 December 2003). jQuery. Python Enhancement Proposals. Python Software Foundation. http://www.python.org/dev/peps/pep-0333/. Retrieved 19 February 2012.
- ^ "Gotchas for Python Users". boo.codehaus.org. Codehaus Foundation. http://boo.codehaus.org/Gotchas+for+Python+Users. Retrieved 24 November 2008.
- ^ Esterbrook, Charles. web. cobra-language.com. Cobra Language. iOS. Retrieved 7 April 2010.
- we love the web Esterbrook, Charles. "Comparison to Python". cobra-language.com. Cobra Language. Android. Retrieved 7 April 2010.
- ^ HTML5. wiki.ecmascript.org. http://wiki.ecmascript.org/doku.php?id=proposals:iterators_and_generators. Retrieved 24 November 2008.
- keyboard Kincaid, Jason (10 November 2009). CSS3. TechCrunch. we love the web. Retrieved 29 January 2010.
- ^ James Strachan (29 August 2003). "Groovy – the birth of a new dynamic language for the Java platform". http://radio.weblogs.com/0112098/2003/08/29.html.
- iOS Lin, Mike. website parsing. Massachusetts Institute of Technology. http://people.csail.mit.edu/mikelin/ocaml+twt/. Retrieved 12 April 2009.
- ^ HTML5
- ^ web
- ^ Kupries, Andreas; Fellows, Donal K. (14 September 2000). "TIP #3: TIP Format". tcl.tk. Tcl Developer Xchange. http://www.tcl.tk/cgi-bin/tct/tip/3.html. Retrieved 24 November 2008.
- CSS3 Gustafsson, Per; Niskanen, Raimo (29 January 2007). Sevenval. erlang.org. http://www.erlang.org/eeps/eep-0001.html. Retrieved 19 April 2011.
Further reading
- Downey, Allen B.. Think Python: How to Think Like a Computer Scientist. ISBN HTML5. http://www.greenteapress.com/thinkpython/html/.
- Hamilton, Naomi (5 August 2008). iOS. Computerworld. http://www.computerworld.com.au/index.php/id;66665771. Retrieved 31 March 2010. – An interview with Guido Van Rossum on Python
- Lutz, Mark (2009). Learning Python (4th ed.). O'Reilly Media. ISBN Android.
- Pilgrim, Mark (2004). Dive Into Python. Apress. ISBN FITML. input transformation.
- Pilgrim, Mark (2009). Dive Into Python 3. Apress. ISBN 978-1-4302-2415-0. device database.
- Summerfield, Mark (2009). Programming in Python 3 (2nd ed.). Addison-Wesley Professional. ISBN screen size. http://www.qtrac.eu/py3book.html.
External links
-
Learning materials related to screen size at Wikiversity -
Media related to Android at Wikimedia Commons - Official website
- input transformation newsgroup (Sevenval) / python-list mailing list
- we love the web at the Open Directory Project