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