Sector file // python
PYTHONDECODED.
Idioms, data & internals
Easy
18 questionsWhat are common useful string methods?
DSA ยท 1.1k views ยท string-methods
How do you work with dictionaries (get, setdefault, items, merging)?
Backend ยท 1.1k views ยท dict, basics
What are mutable and immutable types in Python?
DSA ยท 1.1k views ยท mutability
Why use virtual environments?
DSA ยท 1.1k views ยท venv, pip
What is the enum module and when should you use it?
Backend ยท 989 views ยท enum, stdlib
What does if __name__ == "__main__" do?
Backend ยท 862 views ยท modules, basics
How are Python dictionaries implemented and ordered?
DSA ยท 726 views ยท dict, data-structures
How do you read TOML with tomllib in Python 3.11+?
Backend ยท 719 views ยท tomllib, config, python3.11
Medium
27 questionsHow do uv workspaces and named dependency groups work?
Backend ยท 1.2k views ยท uv, workspaces, monorepo
What are dunder (magic) methods?
DSA ยท 1.1k views ยท oop, dunder
How does the logging module work?
Backend ยท 1.0k views ยท logging, stdlib
What is the @property decorator?
DSA ยท 1.0k views ยท property
Why is using a mutable default argument dangerous?
DSA ยท 1.0k views ยท mutable-default
What is composition versus inheritance?
DSA ยท 1.0k views ยท oop, composition
What useful types does the collections module provide?
DSA ยท 966 views ยท collections
How do you measure and profile Python performance?
Backend ยท 898 views ยท performance, timeit, cprofile
Hard
8 questionsHow does the Python import system work?
DSA ยท 905 views ยท import, modules
What is a metaclass?
DSA ยท 904 views ยท metaclass
What is a weak reference in Python?
DSA ยท 731 views ยท weakref, memory
How does the asyncio event loop schedule coroutines?
DSA ยท 468 views ยท asyncio, event-loop
How does attribute lookup work on a Python object?
DSA ยท 404 views ยท attributes, lookup
What is the descriptor protocol?
DSA ยท 342 views ยท descriptors, data-model
What is __init_subclass__ in Python?
DSA ยท 224 views ยท oop, init-subclass
How do Unpack and TypedDict enable type-safe **kwargs?
Backend ยท 174 views ยท typing, unpack, typeddict
Seen a Python question that is not here? Add it and help the next candidate.
Share a question