|
Size: 1601
Comment:
|
Size: 2132
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 49: | Line 49: |
| * [[Python/TypeAnnotation|Type Annotation]] | |
| Line 54: | Line 55: |
| * [[Python/MoinMoin|MoinMoin]] | * [[Python/Django|Django]] |
| Line 57: | Line 58: |
| * [[Python/IPython|IPython]] * [[Python/MoinMoin|MoinMoin]] |
|
| Line 64: | Line 67: |
| * [[Python/ContextManagers|Context managers]] * [[Python/DunderMethods|Dunder Methods]] |
* [[Python/Builtins|Built-ins]] * [[Python/ContextManager|Context managers]] * [[Python/DunderMethod|Dunder methods]] * [[Python/FStrings|F-strings]] |
| Line 70: | Line 75: |
| == Libraries == | == Standard Library Modules == |
| Line 72: | Line 77: |
| * [[Python/Codecs|Codecs]] | * [[Python/Codecs|codecs]] * [[Python/Collections|collections]] * [[Python/CollectionsAbc|collections.abc]] * [[Python/ContextLib|contextlib]] * [[Python/Re|re]] * [[Python/Typing|typing]] |
| Line 76: | Line 86: |
| == Parsers == | == Parser Modules and Classes == |
| Line 99: | Line 109: |
| == Third-Party Modules == * [[Python/Jinja|Jinja]] * [[Python/Matplotlib|Matplotlib]] * [[Python/NumPy|NumPy]] * [[Python/SciPy|SciPy]] |
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
Third-Party Modules
