| Homepage | www.python.org |
| Documentation | docs.python.org/3/ |
| Repository | github.com/python/cpython |
| Wikipedia | [ Deutsch ] [ English ] [ Magyar ] |
| Wikibooks | [ Deutsch ] [ English ] |
| First appeared | 1991 (34 years) |
| Designed by | Guido van Rossum |
| Latest release | 3.12.1 (Dec 2023) |
| Developer | Python Software Foundation |
| License | Python Software Foundation License |
- type: general
- standard: yes
- entry in the Jargon File
description
scripting, readability, extensible
concepts
- EAFP (easier to ask forgiveness than permission)
try/catchinstead ofif- <-> LBYL (look before you leap)
- duck-typing
- generator (
yield), iterator
features
Data Classes
- Python docs
- Towards Data Science: 9 Reasons Why You Should Start Using Python Dataclasses
resources
tools
versioning
PyEnv
- GitHub: pyenv/pyenv
linting
Pylint
Python Discord
Python Discord Pixels (website was: https://pixels.pythondiscord.com)
libs
- Jinja - templating engine
- homepage: jinja.palletsprojects.com
- GitHub: pallets/jinja
- PyPI: Jinja2
- WebUI
- GitHub: webui-dev/python-webui
videos
- What Does It Take To Be An Expert At Python?
- metaclasses, decorators, generator, context manager
# decorator for turning a generator into a context manager
from contextlib import contextmanager
finance
Python games
- list on Python wiki
- Free Python Games by Grant Jenks
- StackOverflow: Does PyGame do 3d?
Pygame
- interface to the Simple Directmedia Library (SDL)
- Python Wiki
- GitHub:pygame/pygame
- docs
- YT video: The ultimate introduction to Pygame by Clear Code (2021-07-11(
Panda3d
- GitHub: panda3d/panda3d
- docs
data visualization
snippets
conditional compilation
- Conditional compilation in Python
- when calling python with the -O or -OO options,
__debug__will be false
- when calling python with the -O or -OO options,
if __debug__:
doSomething()
other
multiple versions
- Unix & Linux StackExchange - Install newer & older versions of python on debian?
music generation
- StackOverflow: Is there a way to play raw 8bit PCM data using pygame?
packages
beginner project ideas
- freeCodeCamp: 25 Python Projects for Beginners – Easy Ideas to Get Started Coding Python
- dataquest: 45 Fun (and Unique) Python Project Ideas for Easy Learning
- hackr.io: Cool, Fun & Easy Python Projects for Beginners (with Code)
- MakeUseOf: 10 Python Project Ideas Suitable for Beginners
- GeeksForGeeks:
SnakeWare
- by Josh Moore
- YouTube playlist: snakeware
- Hackaday: Python Is All You’ll Ever Need In This Linux Distro | Hackaday by Sven Gregori (2020-06-01)
Comparison values
| Score | 577 |
Features
| Algebraic data type | yes (100) |
| Compiled language | Python BC (1) |
| Context management / Defer | context manager (100) |
| Explicit errors | exceptions (1) |
| Higher-order function | yes (100) |
| Immutable object | part (1) |
| Pattern matching | yes (100) |
| Statically typed | -- |
References
| How To Become A Hacker | 1st (40) |
| languages of choice | yes (100) |
Rankings
Personal
| Category | |
| Usage | much |