✕ Clear all filters
26 articles

📰 Dev.to · German Yamil

26 articles · Updated every 3 hours · View all reads

All Articles 92,204Blog Posts 110,247Tech Tutorials 23,161Research Papers 19,235News 14,887 ⚡ AI Lessons
Python collections: defaultdict, Counter, deque, and namedtuple
Dev.to · German Yamil 1mo ago
Python collections: defaultdict, Counter, deque, and namedtuple
Master Python's collections module: defaultdict eliminates KeyError, Counter counts in one line, deque beats list for queues, namedtuple gives ligh...
Python Sets: Fast Lookups, Deduplication, and Set Operations
Dev.to · German Yamil 1mo ago
Python Sets: Fast Lookups, Deduplication, and Set Operations
Master Python sets: creating sets, set vs list performance, union/intersection/difference, frozenset, comprehensions, and real deduplication patter...
Passive Income for Python Developers: The Automation-First Approach
Dev.to · German Yamil 1mo ago
Passive Income for Python Developers: The Automation-First Approach
How to use Python to build content systems that generate income while you sleep — real architecture, real costs, real numbers from someone doing it.
Python Error Handling: try, except, finally, and raise Done Right
Dev.to · German Yamil 1mo ago
Python Error Handling: try, except, finally, and raise Done Right
Master Python exception handling: catching specific errors, finally for cleanup, raising custom exceptions, and patterns for resilient automation scripts that d
Python Decorators: Wrap Functions Without Touching Them
Dev.to · German Yamil 1mo ago
Python Decorators: Wrap Functions Without Touching Them
Understand Python decorators from first principles: closures, functools.wraps, stacked decorators, decorators with arguments, and real patterns for retry, timin
Python Context Managers: The with Statement Beyond File Handling
Dev.to · German Yamil ⚡ AI Lesson 1mo ago
Python Context Managers: The with Statement Beyond File Handling
Master Python's with statement: built-in context managers, contextlib.contextmanager, class-based managers, and real patterns for cleanup, timing, and locking.
Python Type Hints: A Practical Beginner's Guide
Dev.to · German Yamil 1mo ago
Python Type Hints: A Practical Beginner's Guide
Add type hints to Python functions and variables: basic types, Optional, Union, list[str], dict, Callable, and how to use mypy to catch bugs before runtime.
Python argparse: Build CLI Tools in 10 Minutes
Dev.to · German Yamil 🔧 Backend Engineering ⚡ AI Lesson 1mo ago
Python argparse: Build CLI Tools in 10 Minutes
argparse turns any Python script into a proper CLI tool: help text, type validation, defaults, and subcommands — all from the standard library.
Python argparse: Build CLI Tools in 10 Minutes
Dev.to · German Yamil 🔧 Backend Engineering ⚡ AI Lesson 1mo ago
Python argparse: Build CLI Tools in 10 Minutes
argparse turns any Python script into a proper CLI tool: help text, type validation, defaults, and subcommands — all from the standard library.
Python f-strings: Everything You Need to Know (With Examples)
Dev.to · German Yamil 1mo ago
Python f-strings: Everything You Need to Know (With Examples)
Master Python f-strings: expressions, formatting, alignment, numbers, dates, nested quotes, multiline, and debugging with = specifier. Complete reference.
Python logging: Stop Using print() in Your Automation Scripts
Dev.to · German Yamil 1mo ago
Python logging: Stop Using print() in Your Automation Scripts
Replace print() with Python's logging module to get timestamps, severity levels, file output, and rotating logs in your automation scripts.
Python dataclasses: Cleaner Code Than Dicts or NamedTuples
Dev.to · German Yamil ⚡ AI Lesson 1mo ago
Python dataclasses: Cleaner Code Than Dicts or NamedTuples
Replace messy dicts with typed, self-documenting dataclasses. field(), __post_init__, frozen, and slots — complete guide with before/after examples.
Python pathlib: Replace os.path with Cleaner File Handling
Dev.to · German Yamil 1mo ago
Python pathlib: Replace os.path with Cleaner File Handling
pathlib.Path replaces os.path, os.makedirs, open(), and glob() with one clean API. Complete guide with before/after examples for every common file operation.
How to Schedule Python Scripts with Cron: A Beginner's Complete Guide
Dev.to · German Yamil 1mo ago
How to Schedule Python Scripts with Cron: A Beginner's Complete Guide
Schedule Python scripts to run automatically with cron: syntax, environment variables, logging, virtual environments, and common errors. Working examples for ma
Your First Automated Python Script That Validates and Runs Itself
Dev.to · German Yamil ⚡ AI Lesson 1mo ago
Your First Automated Python Script That Validates and Runs Itself
Build a self-validating Python automation script from scratch: ast.parse() for syntax, subprocess.run() for execution, and a simple state file for resumability.
Gumroad vs KDP vs Leanpub for Python Technical Ebooks: Real Numbers
Dev.to · German Yamil 1mo ago
Gumroad vs KDP vs Leanpub for Python Technical Ebooks: Real Numbers
Platform comparison for selling Python technical ebooks: Gumroad (10% fee, full bundle), KDP (35-70% royalty, Kindle only), Leanpub (20% fee, pay-what-you-want)
Python's ast Module: Parse, Inspect, and Validate Code at the Token Level
Dev.to · German Yamil 1mo ago
Python's ast Module: Parse, Inspect, and Validate Code at the Token Level
Complete guide to Python's ast module: parse source into AST nodes, walk the tree, detect dangerous patterns, and validate code before execution. With working e
22 Articles, 0 Sales: What Build-in-Public Really Looks Like
Dev.to · German Yamil 1mo ago
22 Articles, 0 Sales: What Build-in-Public Really Looks Like
Transparent account of 17 days publishing about an automated Python ebook pipeline. 268 views, 0 sales, and the math that explains why — plus what changed.
How to Pick a Python Ebook Topic That People Actually Pay For (3-Step Validation)
Dev.to · German Yamil 1mo ago
How to Pick a Python Ebook Topic That People Actually Pay For (3-Step Validation)
Before running the pipeline, validate your topic. Three concrete filters: search volume check, existing product audit, and community demand test. Avoid building
Show Dev: I Built a Python Pipeline That Writes, Validates, and Publishes Bilingual Ebooks — Here's Everything
Dev.to · German Yamil 1mo ago
Show Dev: I Built a Python Pipeline That Writes, Validates, and Publishes Bilingual Ebooks — Here's Everything
Complete build breakdown: state machine, AST+subprocess validation, EN+ES translation QA, EPUB assembly, Gumroad API. Built it to prove the method works — the e