Technology

Learn Python

Python is a high-level programming language known for its clear and easy-to-learn syntax, making it ideal for developers of all levels. It is widely used in various fields, including web development, data science, automation, and artificial intelligence, thanks to its extensive libraries and active community.

2 Courses 17 Tutorials 1 Exams

Python Courses

2

Python Tutorials

17
Lesson

How to use Canny Edge detector with Python OpenCV

This tutorial provides a step-by-step explanation of how to implement and adjust Canny Edge Detection in Python using OpenCV, offering both theoretica...

Lesson

What are Abstract Base Classes (ABC) in Python?

This tutorial covers the abstract base classes (ABC) in Python and it includes code examples that you can execute directly into a cloud sandbox. Enhan...

Lesson

What is map() function in Python and how it's used

Learn how to use Python’s map() function to write faster, cleaner, and more efficient code...

Lesson

What is the practical difference between shallow copy and deep copy in Python

This tutorial explores the crucial difference between Python shallow copy vs deep copy with clear code examples. Understand when to use copy() vs deep...

Lesson

What is Memoization in Python and how to use it correctly

Learn advanced memoization techniques in Python with practical, real-world examples. This tutorial explains how to cache expensive computations, desig...

Lesson

Python argparse Tutorial: Build a Command-Line Log Analyser

Learn Python argument parsing with argparse by building a web server log analysis CLI from the ground up. This tutorial covers positional and optional...

Lesson

How to Handle Temporary Files Safely in Python

Python temporary files tutorial: covers TemporaryFile, NamedTemporaryFile, TemporaryDirectory, SpooledTemporaryFile, and mkstemp with runnable code ex...

Lesson

Python Exception Handling Tutorial: Production Pipeline Patterns

Python exception handling patterns for production: custom exceptions, chaining, finally, contextlib.suppress, contextlib.contextmanager, and correct l...

Lesson

Python namedtuple Tutorial: Readable, Structured Records

Python namedtuple tutorial: named fields, immutable records, type annotations, default values, _asdict for JSON, and a practical dataclasses compariso...

Lesson

Validating Untrusted Data at the Boundary with Python Cerberus

This tutorial covers data validation with Python Cerberus by building an e-commerce order ingestion service, progressing through schema definition, ty...

Lesson

Building a Type-Safe Trade Data Library with Python's typing Module

Python typing module: Optional, Union, TypeVar, Protocol for structural interfaces, and TypedDict — adding static type safety to a financial data libr...

Lesson

Concurrent I/O with Python's asyncio and async/await

Python asyncio for concurrent I/O: async/await, asyncio.gather, asyncio.create_task, asyncio.timeout for deadlines, and aiofiles for non-blocking disk...

Lesson

Building a Sensor Data Pipeline with Python's pathlib

Python pathlib: Path construction with / operator, glob() and rglob() for file discovery, read_text()/write_text(), mkdir(), and stat() — replacing os...

Lesson

Instrumenting a Financial Transaction Pipeline with Python's logging Module

Python logging: logger hierarchy, multiple handlers, LoggerAdapter for per-transaction context, and custom JSON formatters — a financial pipeline case...

Lesson

Modeling an Order Management System with Python Dataclasses

Python dataclasses: @dataclass, field() with default_factory, __post_init__ for validation, frozen=True for immutability, order=True, and dataclasses....

Lesson

Guaranteed Cleanup: Resource Management with Python Context Managers

Python context managers: __enter__/__exit__ protocol, @contextmanager decorator, contextlib.suppress, and ExitStack for dynamic resource sets....

Lesson

Sharing Logic Across Endpoints with FastAPI Dependency Injection

Learn FastAPI's dependency injection by factoring an article API's shared concerns into reusable dependencies: a pagination dependency with validated ...

Python Exams

1