Python Tutorial
From Basics to Advanced Applications
Python Tutorial
Welcome to the comprehensive Python tutorial! This book will take you from Python basics to advanced applications.
What Youโll Learn
This tutorial is designed for mixed skill levels and covers:
- Environment Setup - uv, poetry, miniforge, Git/GitHub, VS Code
- Python Basics - Syntax, data types, control flow, functions
- Object-Oriented Programming - Classes, inheritance, advanced patterns
- Advanced Topics - Type hints, async programming, multiprocessing
- Real Applications - Data science, automation, web development
Tutorial Features
- ๐ฅ๏ธ Interactive Examples - Code with execution output
- ๐ Exercises & Quizzes - Test your understanding
- ๐ Hands-on Projects - Build real applications
- ๐ฏ Multiple Formats - Book, slides, PDF
- ๐ Bilingual - Available in English and Japanese
โก NEW: Live Interactive Python + File Uploads
This tutorial now features Quarto Live and Quarto Drop - run and modify Python code directly in your browser AND upload your own data files! No installation required, perfect for immediate hands-on learning with real data.
Prerequisites
- Basic computer literacy
- Willingness to learn and experiment
- Python 3.12+ (weโll help you install it!)
How to Use This Tutorial
- Linear Learning - Follow chapters in order for best results
- Practice Code - Run every example yourself
- Complete Exercises - Reinforce your learning
- Build Projects - Apply knowledge to real problems
๐ Book Chapters
Ready to start your Python journey? Letโs begin with Environment Setup!
๐ฌ Interactive RevealJS Slides
Professional presentation slides with full navigation controls and mobile optimization:
๐ฏ View All Slides Collection โ
Core Python Concepts
- ๐ Introduction & Setup - Get started with Python and uv
- ๐ Data Types & Collections - Lists, dictionaries, sets
- ๐ Control Flow - If/else statements, loops
- โ๏ธ Functions - Reusable code blocks
- ๐จ Error Handling - Try/except patterns
Code Organization
- ๐ฆ Modules & Packages - Code organization
- ๐๏ธ Classes & Objects - Object-oriented programming
- ๐ Inheritance - Advanced OOP concepts
- ๐ท๏ธ Type Hints - Modern Python typing
Advanced Applications
- ๐ Data Science - NumPy, Pandas, Machine Learning
- ๐ค Generative AI - OpenAI, Azure, RAG, Caching
- ๐ IoT Connectivity - Serial, Modbus, InfluxDB
๐ฎ RevealJS Features:
- Navigation: Arrow keys, mouse clicks, touch gestures (iPhone compatible)
- Shortcuts:
ESC(overview),F(fullscreen),S(speaker view) - Interactive: Chalkboard (
Bkey), Menu, Progress bar - Mobile: Optimized for all devices including smartphones