Choose your career direction

Twelve Python specialization tracks

After completing core Python, choose a track. Each has six planned specialist modules, a practical sample, and a capstone direction. These modules are structured study routes, not 72 fully authored lessons.

A · Backend Web, APIs and SaaS

  1. Flask application patterns
    • Routing templates blueprints and application factories
    • Request and response lifecycles
    • Validation and error pages
    • Testing and deployment
  2. FastAPI and asynchronous APIs
    • Pydantic request schemas
    • Dependency injection
    • Async endpoints and sync boundaries
    • OpenAPI and background tasks
  3. Django full-stack fundamentals
    • Models views templates and forms
    • Admin site and ORM
    • Migrations and permissions
    • Authentication and deployment
  4. API security and client contracts
    • JWT versus sessions
    • CSRF CORS and rate limits
    • Request schema evolution
    • Consumer-driven contract testing
  5. SaaS architecture
    • Tenant separation basics
    • Billing boundary design without live charging
    • Subscription status and feature flags
    • Audit and lifecycle management
  6. Deployment and operations
    • Reverse proxies and application servers
    • Managed Postgres and migrations
    • HTTPS secrets and observability
    • Safe rollout and backups

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
def api_list_courses(courses, page=1, size=2):
    start = (page - 1) * size
    return {'items': courses[start:start + size], 'page': page}
print(api_list_courses(['HTML', 'Python', 'SQL'], page=2))
Verified execution ▼
{'items': ['SQL'], 'page': 2}

Why it works: Review the result and explain what was calculated.

B · Data Analysis, Visualization and Decision

  1. NumPy foundations
    • Arrays shapes broadcasting and dtypes
    • Vectorization and numerical pitfalls
    • Indexing masking and aggregation
    • Memory layout
  2. Pandas for tabular data
    • Series DataFrame and indexing
    • CSV Excel SQL and Parquet
    • Joining grouping and reshaping
    • Missing data handling
  3. Exploratory data analysis
    • Distributions and outliers
    • Data quality profiling
    • Correlation versus causation
    • Reproducible notebooks
  4. Statistics for Python analysts
    • Summary statistics and sampling
    • Confidence intervals
    • Hypothesis tests and effect sizes
    • Practical interpretation and uncertainty
  5. Data visualization
    • Matplotlib plots and annotations
    • Plotly interactive outputs
    • Chart selection and accessible visuals
    • Avoiding misleading axes
  6. Reporting and reproducibility
    • Notebook to script workflows
    • Parameterized pipelines
    • Data dictionaries
    • Validation and exports

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
rows = [{'month': 'Jan', 'sales': 10}, {'month': 'Feb', 'sales': 15}]
print('Total:', sum(row['sales'] for row in rows))
print('Months:', [row['month'] for row in rows])
Verified execution ▼
Total: 25
Months: ['Jan', 'Feb']

Why it works: Review the result and explain what was calculated.

C · Machine Learning, AI and LLM Applications

  1. Mathematics for ML
    • Vectors matrices and gradients
    • Probability distributions
    • Optimization intuition
    • Evaluation metrics
  2. Scikit-learn pipelines
    • Train validation test splits
    • Feature engineering and encoding
    • Pipelines and cross-validation
    • Hyperparameter search
  3. Deep learning with PyTorch
    • Tensors autograd and modules
    • Training loops and optimizers
    • Regularization and evaluation
    • GPU and reproducibility concerns
  4. Working with language models
    • Tokenization embeddings and context limits
    • Prompting and structured responses
    • Retrieval-augmented generation
    • Tool calls and safety boundaries
  5. AI reliability and evaluation
    • Benchmarks and test datasets
    • Hallucinations and groundedness
    • Bias privacy and prompt injection
    • Monitoring costs latency and errors
  6. Serving and MLOps
    • Model serialization and provenance
    • Batch versus online inference
    • Drift monitoring and retraining
    • Security and rollback

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
observations = [(1, 2), (2, 4), (3, 6)]
predicted = [2 * x for x, _ in observations]
error = sum(abs(y - p) for (_, y), p in zip(observations, predicted))
print('Absolute error:', error)
Verified execution ▼
Absolute error: 0

Why it works: Review the result and explain what was calculated.

D · Data Engineering and Streaming Pipelines

  1. ETL and ELT design
    • Source extraction and incremental loads
    • Schema contracts and validation
    • Transform orchestration
    • Data lineage
  2. Relational and analytical stores
    • OLTP versus OLAP
    • PostgreSQL and warehouse concepts
    • Partitioning and indexes
    • Query optimization
  3. Columnar formats and Arrow
    • Parquet and Arrow concepts
    • Partition pruning
    • DuckDB query workflows
    • Data interoperability
  4. Pipelines and orchestration
    • DAGs dependencies and retries
    • Airflow or Prefect concepts
    • Scheduling and backfills
    • Idempotency
  5. Streaming and messaging
    • Kafka concepts and consumer groups
    • Event time versus processing time
    • Ordering deduplication and offsets
    • Backpressure
  6. Data quality and operations
    • Schema drift detection
    • Freshness and completeness checks
    • Observability and incident response
    • Privacy and retention

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
events = [{'id': 1, 'value': 8}, {'id': 2, 'value': 5}, {'id': 1, 'value': 8}]
unique = {event['id']: event for event in events}
print('Unique events:', len(unique))
Verified execution ▼
Unique events: 2

Why it works: Review the result and explain what was calculated.

E · Automation, Scraping and Workflow

  1. Local file and office automation
    • Folder watchers and scheduled jobs
    • CSV Excel and PDF manipulation
    • Naming and audit logs
    • Safe batch operation
  2. Browser and web automation
    • Selenium and Playwright concepts
    • Selectors waits and sessions
    • Flaky UI handling
    • Consent and terms compliance
  3. Web scraping responsibly
    • robots.txt and site rules
    • Requests parsers and pagination
    • Polite throttling and caching
    • Extraction validation
  4. Email and service automation
    • SMTP and IMAP concepts
    • API-based integrations
    • Templates and attachment checks
    • Idempotency and dry-run support
  5. Schedulers and desktop workflows
    • Cron and task scheduling
    • Retry and escalation rules
    • OS notifications
    • Operator review steps
  6. Reliable RPA architecture
    • Configurable tasks and logs
    • Secrets management
    • Failure screenshots and alerts
    • Human-in-the-loop approvals

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
files = ['invoice_1.pdf', 'photo.png', 'invoice_2.pdf']
matches = [name for name in files if name.endswith('.pdf')]
print('Documents:', matches)
Verified execution ▼
Documents: ['invoice_1.pdf', 'invoice_2.pdf']

Why it works: Review the result and explain what was calculated.

F · Scientific, Numerical and Quantitative Python

  1. Numerical foundations
    • Floating-point error and tolerances
    • Vectorization and broadcasting
    • Linear algebra and decomposition
    • Stability and conditioning
  2. SciPy methods
    • Optimization and root finding
    • Integration and interpolation
    • Signal processing fundamentals
    • Statistical distributions
  3. Symbolic and precise mathematics
    • SymPy expressions
    • Symbolic differentiation
    • Decimal fractions and exact values
    • Expression simplification
  4. Simulation and stochastic models
    • Random number generators and seeds
    • Monte Carlo estimation
    • Discrete event concepts
    • Simulation validation
  5. Research software practices
    • Reproducibility and environments
    • Parameter sweeps and profiling
    • Plotting and reporting
    • Data and result provenance
  6. Quantitative applications
    • Time series processing
    • Scenario analysis
    • Model assumptions and sensitivity
    • Ethical interpretation of outputs

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
velocity = 3.0
distance = 0.0
for second in range(4):
    distance += velocity
print('Distance:', distance)
Verified execution ▼
Distance: 12.0

Why it works: Review the result and explain what was calculated.

G · Cloud Infrastructure, DevOps and Platform

  1. Linux service operations
    • Shell integration and processes
    • Service logs and permissions
    • Filesystem quotas and networking
    • Repeatable operations
  2. Infrastructure automation
    • SDK and CLI concepts
    • Terraform and configuration management basics
    • Idempotent infrastructure scripts
    • State and secrets
  3. CI CD pipelines
    • Lint test build and release stages
    • Secure credentials and artifact signing
    • Caching and matrix tests
    • Rollbacks
  4. Container orchestration
    • Docker image construction
    • Compose local stacks
    • Kubernetes resources overview
    • Readiness probes and scaling
  5. Cloud reliability and cost
    • Storage queues and managed databases
    • SLOs and autoscaling
    • Cost tagging and budgets
    • Backups and region failure planning
  6. Platform engineering
    • Developer self-service templates
    • Configuration standards
    • Secret rotation
    • Observability automation and runbooks

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
environment = {'debug': False, 'replicas': 2}
if environment['debug']:
    print('Not production ready')
else:
    print('Production setting confirmed')
Verified execution ▼
Production setting confirmed

Why it works: Review the result and explain what was calculated.

H · Defensive Cybersecurity and Secure Python

  1. Security foundations for developers
    • Assets threats and trust boundaries
    • Authentication and authorization
    • Encryption concepts and secure transport
    • Responsible scope and authorization
  2. Secure coding patterns
    • Input handling and injection prevention
    • Path traversal and unsafe deserialization
    • Secret handling and logging
    • Dependency vulnerability review
  3. Network visibility and diagnostics
    • Socket-based connectivity checks
    • DNS and TLS inspection
    • Packet structure at a high level
    • Rate and scope limitations
  4. Log analysis and anomaly detection
    • Parsing timestamps and events
    • Baselines and thresholds
    • False positives and data privacy
    • Reporting and triage
  5. Security automation and compliance
    • Inventory and patch status
    • File-integrity monitoring
    • Configuration linting
    • Evidence collection and audit trails
  6. Incident response and recovery
    • Detection containment and documentation
    • Forensic preservation basics
    • Secrets rotation
    • Post-incident lessons

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
logins = [('alice', False), ('bob', True), ('alice', False)]
failures = sum(not passed for _, passed in logins)
print('Failed logins:', failures)
Verified execution ▼
Failed logins: 2

Why it works: Review the result and explain what was calculated.

I · Desktop Applications, GUIs and Developer Tools

  1. CLI product design
    • argparse Typer or Click
    • Clear commands help and errors
    • Configuration and profiles
    • Cross-platform behavior
  2. Terminal user interfaces
    • rich text and progress display
    • Textual framework concepts
    • Keyboard interactions
    • Accessibility and state management
  3. Desktop GUI fundamentals
    • Event loops callbacks and widgets
    • Tkinter as a baseline
    • Layout and user feedback
    • Separating UI from business logic
  4. Advanced desktop architecture
    • PySide or PyQt options
    • Signals slots and threading
    • State and persistence
    • Packaging and OS dialogs
  5. Distribution and updates
    • Wheels versus standalone executables
    • PyInstaller concepts
    • Signing and platform variation
    • Crash logs and upgrade paths
  6. Usability testing and accessibility
    • Keyboard-only workflows
    • Validation and error messages
    • Responsive resizing
    • User testing and feedback loops

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
class Preferences:
    def __init__(self):
        self.theme = 'light'
    def toggle(self):
        self.theme = 'dark' if self.theme == 'light' else 'light'
settings = Preferences()
settings.toggle()
print(settings.theme)
Verified execution ▼
dark

Why it works: Review the result and explain what was calculated.

J · Robotics, Electronics and IoT with Python

  1. Electricity and electronics readiness
    • Voltage current and resistance
    • Breadboards and components
    • Microcontroller versus single-board computer
    • Power and battery safety
  2. MicroPython fundamentals
    • Supported board selection
    • GPIO digital inputs and outputs
    • Timing and memory limits
    • Device flashing and serial console
  3. Sensors actuators and control
    • Analog-to-digital conversion
    • I2C SPI and UART
    • PWM for motors and servos
    • Noise calibration and feedback
  4. Raspberry Pi and edge Python
    • Linux GPIO libraries and permissions
    • Camera and sensor inputs
    • Processes and startup
    • Network-connected edge apps
  5. Robotics foundations
    • Robot coordinate systems
    • Kinematics and state estimation basics
    • PID control intuition
    • Simulation-first testing
  6. IoT connectivity and safety
    • MQTT and message schemas
    • Local network security
    • Firmware updates and logging
    • Physical emergency stop and failsafes

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
distance_cm = 12
if distance_cm < 15:
    motor_command = 'STOP'
else:
    motor_command = 'FORWARD'
print('Motor:', motor_command)
Verified execution ▼
Motor: STOP

Why it works: Review the result and explain what was calculated.

K · Games, Graphics and Interactive Simulations

  1. Game loop and event processing
    • Frames input and update cycles
    • Delta time and fixed timesteps
    • State machines
    • Collision concepts
  2. Pygame fundamentals
    • Surfaces sprites and groups
    • Keyboard and mouse input
    • Sound and asset management
    • Menus and scene changes
  3. 2D mechanics and physics
    • Position velocity and acceleration
    • Collision resolution
    • Particle effects
    • Simple AI behaviors
  4. Procedural systems
    • Random generation and reproducibility
    • Grid and tile maps
    • Pathfinding and enemies
    • Difficulty tuning
  5. Educational game design
    • Learning objectives and feedback
    • Accessible controls
    • Saving progress
    • Fair difficulty and testing
  6. Testing and packaging games
    • Deterministic logic tests
    • Performance profiling
    • Asset licensing and attribution
    • Cross-platform distributions

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
player = {'x': 2, 'y': 3}
move = (1, -1)
player['x'] += move[0]
player['y'] += move[1]
print('Position:', player)
Verified execution ▼
Position: {'x': 3, 'y': 2}

Why it works: Review the result and explain what was calculated.

L · Testing Frameworks, Python Tooling and

  1. Advanced pytest infrastructure
    • Fixture scope and dependency graphs
    • Plugins and hooks
    • Parameterization patterns
    • Parallel execution considerations
  2. Property-based and fuzz testing
    • Hypothesis strategies
    • Invariants and shrinking
    • Stateful model testing
    • Input boundary analysis
  3. Static analysis and type tooling
    • AST inspection and transformation
    • Ruff rule concepts
    • Type-checker extensions overview
    • False-positive management
  4. Build backends and packaging
    • PEP 517 518 and 621 concepts
    • Build tools and source distributions
    • Editable installs and wheels
    • Reproducible package metadata
  5. Documentation and API stewardship
    • Semantic versioning and changelogs
    • Deprecation guides
    • Reference docs and examples
    • Contributor support workflows
  6. Maintaining trusted open source
    • License obligations
    • Vulnerability disclosure
    • Dependency update automation
    • Long-term compatibility policy
    • Each lesson should be complete enough to teach its listed objectives; do not inflate word count with
    • For the planned website edition, target at least 1,200 meaningful words per full chapter where the topic
    • Use exact commands for macOS, Windows, and Linux where they differ. Explain what the learner should
    • Mark optional libraries, operating-system dependencies, paid services, hardware prerequisites, and
    • Every code example should have a tested Python compatibility range and an expected result; avoid saying
    • Use original prose, original illustrations and projects, and properly acknowledge any third-party assets or
    • Build accessible, mobile-friendly diagrams for abstract concepts: references, control flow, stack traces,
    • Foundation portfolio: a CLI study planner, file organizer, and tested expense tracker.
    • Engineering portfolio: a typed package, SQL-backed service, authenticated API, and automated CI test
    • Advanced portfolio: a profiled concurrent ingester, monitored production-style service, and system-design
    • Specialization portfolio: at least one substantial elective capstone aligned to the learner's desired career.
    • Final evaluation: code quality, reproducibility, reliability, security, documentation, testing, and clarity of

Career-track capstone: {H(info.get("capstone", "Build and test a real application."))}

Working track demonstration

Python · runnable
PYTHON CODE
def slug(text):
    return '-'.join(text.lower().split())
assert slug('Learn Python Today') == 'learn-python-today'
print(slug('Clear Helpful Tools'))
Verified execution ▼
clear-helpful-tools

Why it works: Review the result and explain what was calculated.

Complete PYTHON PDF
Checking PDF availability…