Advanced Python
In this workshop, you’ll master Python programming fundamentals, progressing from language structure basics to advanced implementation of Web Applications and Generative AI.
We’ll focus on web application development using FastAPI, including building sophisticated APIs, database integration, and information security. Towards the course’s end, we’ll explore the emerging field of Generative AI and learn how to incorporate it into our code.
The course combines hands-on exercises and project assignments to solidify your knowledge and prepare you for real-world scenarios as advanced Python developers.
This workshop is designed to equip you with cutting-edge skills at the intersection of web development and artificial intelligence, positioning you at the forefront of modern software engineering.
Introduction to Python
- Overview of Python’s versatility.
- Installation of Python, IDE setup (VS Code/PyCharm).
- Running your first Python script: “Hello, World!”
Python Fundamentals
- Data types (integers, floats, strings, booleans).
- Variables and basic operators.
- Input/Output functions (print, input).
Control Structures
- Conditional statements: if, elif, else.
- Loops: for loop, while loop.
Functions and Modules
- Defining functions and understanding scope.
- Importing and using Python modules.
- Hands-on: Writing reusable functions.
Working with Data
- Lists, dictionaries, and sets.
- Reading from and writing to files.
- Introduction to basic data handling with pandas.
Introduction to Libraries for AI and Web
- Overview of key libraries: NumPy (arrays), pandas (data manipulation), FastAPI (web), LangChain (Generative AI).
- Explanation of their uses and installation.
Introduction to Web Development with FastAPI
- FastAPI basics: routing, dependency injection, and type hints.
Introduction to Generative AI with Python
- Basic Generative AI concepts: models, inference.
- langChain basics.
AI-Powered Web Application
Deploy the app locally, test inputs and outputs.
Integrate the AI model from the previous session into the FastAPI app.