Show Menu
Cheatography
This is a draft cheat sheet. It is a work in progress and is not finished yet.

Python

List compre­hension
[func(x) for x in iter if condition]
 

Pytest

Showing print() in tests
pytest -s
Filtering tests by name
pytest -k <na­me>