Notes to Self

Alex Sokolsky's Notes on Computers and Programming

Python Programming

Development

Frameworks

To look further:

External resources

Modules of Interest

site

> python3 -m site
sys.path = [
    '/home/alex/Projects/asokolsky.github.io',
    '/usr/lib/python312.zip',
    '/usr/lib/python3.12',
    '/usr/lib/python3.12/lib-dynload',
    '/usr/local/lib/python3.12/dist-packages',
    '/usr/lib/python3/dist-packages',
]
USER_BASE: '/home/alex/.local' (exists)
USER_SITE: '/home/alex/.local/lib/python3.12/site-packages' (doesn't exist)
ENABLE_USER_SITE: True

more details

Python 3 Module of the Week

https://pymotw.com/3/

One-liners

URL-decode CLI

echo -n "%21%20" | python3 -c "import sys; from urllib.parse import unquote; print(unquote(sys.stdin.read()));"