Differences between revisions 17 and 18
Revision 17 as of 2022-12-29 21:02:49
Size: 1513
Comment:
Revision 18 as of 2022-12-29 21:09:23
Size: 1561
Comment:
Deletions are marked like this. Additions are marked like this.
Line 63: Line 63:
 * [[Python/ContextManagers|Context managers]]
 * [[Python/DunderMethods|Dunder Methods]]
Line 64: Line 66:
 * [[Python/DunderMethods|Dunder Methods]]

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

Libraries

Parsers

Configuration Files

HTML

PDF

XML

Creating Libraries


CategoryRicottone

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