← AI Engineer overview

Module 2: Python Programming for AI

Level 1: Foundations
12 lessons
Core programming
Lessons
2.1 — Python Fundamentals
  • Variables, data types, and operators
  • Strings, numbers, booleans, and type conversion
  • Input, output, and formatted strings
  • Conditional statements and loops
2.2 — Data Structures
  • Lists, tuples, sets, and dictionaries
  • Indexing, slicing, and common operations
  • List and dictionary comprehensions
  • Nested data structures and practical examples
2.3 — Functions and Modular Programming
  • Defining and calling functions
  • Parameters, return values, and default arguments
  • Lambda functions and useful built-in functions
  • Modules, packages, and imports
2.4 — Object-Oriented Programming
  • Classes, objects, and constructors
  • Inheritance, encapsulation, and polymorphism
  • Composition and when to use it
  • Designing reusable Python components
2.5 — Practical Python
  • File handling: TXT, JSON, and CSV
  • Exception handling and debugging
  • Virtual environments and dependency management
  • Working with APIs using HTTP requests
  • Asynchronous programming fundamentals
  • Type hints, logging, and basic unit testing
Module project

Create a Python application that reads documents, calls an external API, processes the response, and saves the results.