Home/Learn/Python
Topic

Python

Learn Python as a connected topic across chapters, concepts, simulations, and interview reasoning.

10 Concepts34 Articles12h 36m

Overview

Learn Python as a connected topic across chapters, concepts, simulations, and interview reasoning.

How this topic helps

Llm
Langchain
Ai Agents
Langgraph

Learning Path in this Topic

Series that contain articles from Python. Select a path to filter the article list.

Articles

34 matched articles

Article 1Pythonic Code: Idioms Every Developer Should KnowTLDR: Writing for i in range(len(arr)): works, but Python veterans will flag it in your first code review. Idiomatic Python uses enumerate, zip, comprehensions, context managers, unpacking, the walrus27 minArticle 2Python OOP: Classes, Dataclasses, and Dunder MethodsšŸ“– Why Every Java Developer Writes Un-Pythonic Classes on Day One Imagine a developer — let's call him Daniel — who has written Java for six years. He sits down to write his first Python class and pro22 minArticle 3List Comprehensions, Generators, and Lazy Evaluation in PythonTLDR: Python list comprehensions offer clean, readable syntax for eager sequence construction, but allocate memory for all elements immediately. Swapping brackets for parentheses (...) creates a gener24 minArticle 4Functions in Python: Parameters, Return Values, and ScopeTLDR: Python functions are first-class objects, not just reusable blocks. They support keyword arguments, safe defaults with None, variadic *args/**kwargs, closures, and LEGB scope resolution. These f22 minArticle 5Functional Python: map, filter, itertools, and functoolsšŸ“– The Nested-Loop Tax: When Five Stages of ETL Collapse Under Their Own Weight Picture this task. You receive a batch of raw order records from a sales API. Your pipeline must: (1) skip cancelled ord29 minArticle 6File I/O and Exception Handling in PythonTLDR: Python file operations should always use the with statement to ensure resource cleanup. Use the EAFP (Easier to Ask Forgiveness than Permission) style with specific try/except/else/finally block22 min

Page 1 of 6