Showing content from https://learnbyexample.github.io/py_resources/specific.html below:
Specific features - Python Resources for Everybody
Python Resources for Everybody Specific features Abstract Syntax Trees
Async and concurrency
- Async IO in Python: A Complete Walkthrough
- Async Python in real life
- Python Concurrency — Threads, Processes, and asyncio Explained
- Concurrency and async / await — asynchronous code, concurrency, and parallelism
- Basics of concurrency — concurrency landscape, APIs, docs, books, and glossary
- Python Concurrency: The Tricky Bits
- Speed Up Your Python Program With Concurrency — threading, asyncio, and multiprocessing
Classes
Command line applications
- Python docs HOWTOs: Argparse Tutorial
- click — creating beautiful command line interfaces in a composable way with as little code as necessary
- Rich — make your command line applications visually appealing and present data in a more readable way
- Textual — Text User Interface framework for Python inspired by modern web development
Context managers
CPython internals
Decorators and closures
Exception handling
Lambda
Lists and comprehensions
Logging
Memoization
OS interaction
Pattern matching
Profiling code and speeding up Python
Python Packaging
Regular Expressions
- Understanding Python re(gex)? — my book on regular expressions, covers built-in
re
and third-party regex
modules
- regex101 — visual aid and online testing tool for regular expressions, select flavor as Python before use
- debuggex — railroad diagrams for regular expressions, select flavor as Python before use
- Awesome Regex — curated collection of regex tools, tutorials, libraries, etc
Socket Programming
Standard library
Type annotations
Virtual Environments
On newer versions of Python, I use the simple commands shown below to create a new virtual environment. This approach should work out-of-the-box, but might depend upon the OS you are using. I'm on Linux.
# this is needed only once
# 'new_project' is the name of the folder, can be new or already existing
# use py instead of python3.13 for Windows
$ python3.13 -m venv new_project
$ cd new_project/
$ source bin/activate
(new_project) $ # pip install <modules>
(new_project) $ # do some scripting
(new_project) $ deactivate
$ # you're now out of the virtual environment
Here's some resources on this messy topic:
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4