Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/marioaje/Python/llms.txt

Use this file to discover all available pages before exploring further.

Clases de Python is a hands-on, project-oriented Python course structured around four focused weeks of programming content, plus a bonus web week. Each week builds on the last — starting from fundamental data types and arithmetic, progressing through control flow and object-oriented design, and culminating in file I/O, dictionaries, and live MySQL database connectivity via pymysql. Whether you’re writing your first print() statement or querying a remote database, this course gives you a practical, code-first path through Python development.
All source files and in-code comments are written in Spanish, reflecting the course’s original language of instruction. The Python concepts, syntax, and techniques covered are universal and apply to any Python developer regardless of language background.

Weekly Overview

Week 1 — Python Foundations

Variables, data types (int, float, str, bool), arithmetic operations, user input, list manipulation, and print() formatting. You’ll also use the sys module to inspect your Python runtime.

Week 2 — Control Flow

Conditional logic with if / elif / else, for loops with range(), for loops over lists (foreach-style), f-strings, and introductory object-oriented programming with classes, getters, and setters.

Week 3 — Functions, Classes & Packages

Defining reusable functions with and without parameters, return values, class constructors with __init__, instance attributes, getter/setter methods, and installing third-party packages via pip (e.g., camelcase).

Week 4 — Data Structures, File I/O & MySQL

Dictionaries, arrays, lists of dictionaries, while loops, file reading/writing with the open() built-in, CSV parsing with the csv module, and MySQL CRUD operations using pymysql.

Course Structure

The course is divided into five directories — four Python weeks and one bonus web week — each containing standalone, runnable .py (or .html) scripts:
WeekDirectoryFocus
Week 1semana1/Core syntax: variables, data types, operators, input/output, lists
Week 2semana2/Control flow: conditionals, loops, list traversal, intro to OOP
Week 3semana3/Functions, classes, while loops, third-party packages
Week 4semana4/Dictionaries, file I/O, CSV handling, MySQL with pymysql
Bonussemanaweb/HTML fundamentals: headings, paragraphs, images, tables, video, containers
Each week’s folder is self-contained. Scripts are short, well-commented, and designed to be run individually so you can focus on one concept at a time.

Key Python Topics Covered

Working through all four Python weeks, you will encounter:
  • Data typesint, float, str, bool and Python’s dynamic (non-typed) variable system
  • Operators — arithmetic (+, -, *, /), comparison (==, <, >), logical operators
  • User input — capturing and casting keyboard input with input() and int()
  • Lists — indexing, mutation, .append(), .pop(), and iteration
  • Conditional logicif, elif, else branches and f-string formatting
  • Loopsfor with range(), for over iterables, while with input() menus
  • Functions — parameterless functions, functions with arguments, and return values
  • Object-Oriented Programmingclass, __init__, self, instance attributes, getters and setters
  • Modules & packages — importing os, sys, csv, re from the standard library; installing packages with pip
  • Dictionaries — key/value pairs, nested structures, lists of dictionaries
  • File I/O — opening, reading, writing, and deleting files; reading CSV data with the csv module
  • Database connectivity — connecting to MySQL, executing SELECT / INSERT / UPDATE queries using pymysql

Build docs developers (and LLMs) love