Differences between revisions 20 and 23 (spanning 3 versions)
Revision 20 as of 2023-01-06 18:57:19
Size: 1676
Comment:
Revision 23 as of 2023-01-07 15:56:38
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 65: 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 71: Line 75:
== Libraries == == Standard Library Modules ==
Line 74: Line 78:
 * [[Python/Collections|collections]]
 * [[Python/CollectionsAbc|collections.abc]]
 * [[Python/ContextLib|contextlib]]
 * [[Python/Re|re]]
Line 78: Line 86:
== Parsers == == Parser Modules and Classes ==
Line 101: 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.


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

PDF

XML

Third-Party Modules

Creating Libraries


CategoryRicottone

Python (last edited 2025-04-08 14:54:56 by DominicRicottone)