Differences between revisions 16 and 23 (spanning 7 versions)
Revision 16 as of 2022-12-29 19:25:02
Size: 1427
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 46: Line 46:
 * [[Python/PyProject|pyproject.toml]]
Line 48: Line 49:
 * [[Python/TypeAnnotation|Type Annotation]]
Line 53: Line 55:
 * [[Python/MoinMoin|MoinMoin]]  * [[Python/Django|Django]]
Line 56: Line 58:
 * [[Python/IPython|IPython]]
 * [[Python/MoinMoin|MoinMoin]]
Line 63: Line 67:
 * [[Python/Builtins|Built-ins]]
 * [[Python/ContextManager|Context managers]]
 * [[Python/DunderMethod|Dunder methods]]
 * [[Python/FStrings|F-strings]]
Line 64: Line 72:
 * [[Python/DunderMethods|Dunder Methods]]
Line 68: Line 75:
== Libraries == == Standard Library Modules ==
Line 70: 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 74: Line 86:
== Parsers == == Parser Modules and Classes ==
Line 76: Line 88:
 * [[Python/HtmlParser|html.parser (HTML)]]
 * [[Python/BeautifulSoup|Beautiful Soup (HTML)]]
 * [[Python/Pdfminer|pdfminer (PDF)]]
 * [[Python/XmlSax|xml.sax (XML)]]
 * [[Python/XmlDomMinidom|xml.dom.minidom (XML)]]
 * [[Python/LxmlEtree|lxml.etree (XML)]]
=== Configuration Files ===

 * [[Python/ConfigParser|ConfigParser]]

=== HTML ===

 * [[Python/HtmlParser|html.parser]]
 * [[Python/BeautifulSoup|Beautiful Soup]]

=== PDF ===

 * [[Python/Pdfminer|pdfminer]]

=== XML ===

 * [[Python/XmlSax|xml.sax]]
 * [[Python/XmlDomMinidom|xml.dom.minidom]]
 * [[Python/LxmlEtree|lxml.etree]]



== 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-12-23 05:22:18 by DominicRicottone)