Sector file // python
PYTHONDECODED.
Idioms, data & internals
Easy
6 questionsWhat is the enum module and when should you use it?
Backend ยท 989 views ยท enum, stdlib
What is the difference between a module and a package?
DSA ยท 942 views ยท modules, packages
What do *args and **kwargs mean?
DSA ยท 746 views ยท args, kwargs
What is uv and why is it replacing pip/poetry in 2025-26?
Backend ยท 716 views ยท uv, packaging, python3.11
How do you convert between Python objects and JSON?
Backend ยท 398 views ยท json, serialization
What do enumerate and zip do?
DSA ยท 350 views ยท enumerate, zip
Medium
16 questionsWhat are dunder (magic) methods?
DSA ยท 1.1k views ยท oop, dunder
How does Pydantic v2 validation work (BaseModel, field_validator, mode)?
Backend ยท 1.1k views ยท pydantic, validation, python3.11
What is composition versus inheritance?
DSA ยท 1.0k views ยท oop, composition
What are decorators in Python?
DSA ยท 1.0k views ยท decorators
How do generator pipelines stream data lazily?
DSA ยท 991 views ยท generators, pipeline
What is the difference between __new__ and __init__?
DSA ยท 879 views ยท new, init
What are lambda functions and map/filter/reduce?
DSA ยท 827 views ยท lambda, functional
What are dataclasses?
DSA ยท 736 views ยท dataclasses
Hard
4 questionsHow does the Python import system work?
DSA ยท 905 views ยท import, modules
What is a metaclass?
DSA ยท 904 views ยท metaclass
What is the Method Resolution Order (MRO)?
DSA ยท 686 views ยท mro, inheritance
What is __init_subclass__ in Python?
DSA ยท 224 views ยท oop, init-subclass
Seen a Python question that is not here? Add it and help the next candidate.
Share a question