Differences between revisions 19 and 22 (spanning 3 versions)
Revision 19 as of 2022-12-31 03:08:04
Size: 1601
Comment:
Revision 22 as of 2023-01-07 04:05:20
Size: 1866
Comment:
Deletions are marked like this. Additions are marked like this.
Line 49: Line 49:
 * [[Python/TypeAnnotation|Type Annotation]]
Line 64: Line 65:
 * [[Python/Builtins|Built-ins]]
Line 70: Line 72:
== Libraries == == Standard Library Modules ==
Line 72: Line 74:
 * [[Python/Codecs|Codecs]]  * [[Python/Codecs|codecs]]
 * [[Python/ContextLib|contextlib]]
 * [[Python/Collections|collections]]
 * [[Python/CollectionsAbc|collections.abc]]
 * [[Python/Typing|typing]]
Line 76: Line 82:
== Parsers == == Parser Modules and Classes ==

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

Creating Libraries


CategoryRicottone

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