Sector file // python
PYTHONDECODED.
Idioms, data & internals
139 Questions88.6k Views5.3k Upvotes
34 easy83 med22 hard
Easy
3 questionsWhat is the difference between a module and a package?
DSA ยท 942 views ยท modules, packages
Views:942Likes:0
What does if __name__ == "__main__" do?
Backend ยท 862 views ยท modules, basics
Views:862Likes:32
How do you sort with a custom key, and how does sorted differ from sort?
DSA ยท 406 views ยท sorting
Views:406Likes:12
Medium
5 questionsWhat useful types does the collections module provide?
DSA ยท 966 views ยท collections
Views:966Likes:77
What is Python 3.12's new type parameter syntax (type, generic classes)?
DSA ยท 292 views ยท typing, generics, python3.12
Views:292Likes:21
What is monkey patching in Python?
DSA ยท 182 views ยท monkey-patching
Views:182Likes:19
What is pickling and what are its risks?
DSA ยท 87 views ยท serialization, pickle
Views:87Likes:52
How do type hints work in Python?
DSA ยท 43 views ยท typing
Views:43Likes:19
Hard
5 questionsHow does the Python import system work?
DSA ยท 905 views ยท import, modules
Views:905Likes:56
How does CPython execute your code?
DSA ยท 722 views ยท cpython, internals, bytecode
Views:722Likes:31
How does multiprocessing share data between processes?
DSA ยท 693 views ยท multiprocessing, ipc
Views:693Likes:38
What is __init_subclass__ in Python?
DSA ยท 224 views ยท oop, init-subclass
Views:224Likes:2
What is Python 3.12's free-threaded (no-GIL) build and what changes?
Backend ยท 99 views ยท gil, free-threaded, python3.12
Views:99Likes:41
Seen a Python question that is not here? Add it and help the next candidate.
Share a question