Size: 1676
Comment:
|
Size: 1866
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 65: | Line 65: |
* [[Python/Builtins|Built-ins]] | |
Line 71: | Line 72: |
== Libraries == | == Standard Library Modules == |
Line 74: | Line 75: |
* [[Python/ContextLib|contextlib]] * [[Python/Collections|collections]] * [[Python/CollectionsAbc|collections.abc]] |
|
Line 78: | Line 82: |
== Parsers == | == Parser Modules and Classes == |
Python
The Python programming language is an interpreted, duck-typed language.
Contents
Example
A hello world program looks like:
def main(): print("Hello, world") if __name__ == "__main__": main()
If using Python 2, the print command is instead a statement.
print "Hello, world"
To run the program, try:
python hello.py # or chmod 755 hello.py ./hello.py
Tool chain
Applications and Servers
Language
Standard Library Modules
Parser Modules and Classes
Configuration Files
HTML
XML