|
Size: 1832
Comment:
|
Size: 2132
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 55: | Line 55: |
| * [[Python/MoinMoin|MoinMoin]] | * [[Python/Django|Django]] |
| Line 58: | Line 58: |
| * [[Python/IPython|IPython]] * [[Python/MoinMoin|MoinMoin]] |
|
| Line 66: | Line 68: |
| * [[Python/ContextManagers|Context managers]] * [[Python/DunderMethods|Dunder Methods]] |
* [[Python/ContextManager|Context managers]] * [[Python/DunderMethod|Dunder methods]] * [[Python/FStrings|F-strings]] |
| Line 72: | Line 75: |
| == Libraries == | == Standard Library Modules == |
| Line 75: | Line 78: |
| * [[Python/ContextLib|contextlib]] | |
| Line 78: | Line 80: |
| * [[Python/ContextLib|contextlib]] * [[Python/Re|re]] |
|
| Line 82: | Line 86: |
| == Parsers == | == Parser Modules and Classes == |
| Line 105: | 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
