Python Tutorial

From Basics to Advanced Applications

Author

Ameyanagi

Published

May 25, 2025

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

  1. Linear Learning - Follow chapters in order for best results
  2. Practice Code - Run every example yourself
  3. Complete Exercises - Reinforce your learning
  4. 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

Code Organization

Advanced Applications

๐ŸŽฎ RevealJS Features:

  • Navigation: Arrow keys, mouse clicks, touch gestures (iPhone compatible)
  • Shortcuts: ESC (overview), F (fullscreen), S (speaker view)
  • Interactive: Chalkboard (B key), Menu, Progress bar
  • Mobile: Optimized for all devices including smartphones

๐ŸŒ Language Navigation


Ready to learn Python? Start with Environment Setup or explore the interactive slides above!