py-intro

Eng0AI's avatarfrom Eng0AI

Slidev presentation for teaching Python with interactive code execution.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 16, 2025

When & Why to Use This Skill

This Claude skill provides a specialized Slidev-based presentation framework designed for Python education. It integrates interactive code execution directly within the slides, allowing educators to create 'Zero to Hero' Python tutorials that bridge the gap between theoretical concepts and live programming practice.

Use Cases

  • Interactive Classroom Teaching: Instructors can deliver Python lessons where code examples are executed in real-time, providing immediate visual feedback to students.
  • Technical Workshop Hosting: Developers can create engaging, hands-on workshops that allow participants to interact with and modify Python snippets without leaving the presentation.
  • Self-Paced Educational Content: Content creators can build comprehensive Python courseware with built-in runners, making it easier for learners to practice syntax and logic in a structured environment.
namepy-intro
descriptionSlidev presentation for teaching Python with interactive code execution.

Python Zero To Hero Slides

A Slidev presentation for teaching Python fundamentals with interactive code execution.

Tech Stack

  • Framework: Slidev (Vue-based)
  • Feature: Python Runner addon for live code demos
  • Addons: slidev-addon-python-runner, slidev-addon-rabbit
  • Themes: apple-basic, bricks, penguin
  • Package Manager: pnpm
  • Output: dist directory

Setup

1. Clone the Template

git clone --depth 1 https://github.com/Eng0AI/py-intro-template.git .

If the directory is not empty:

git clone --depth 1 https://github.com/Eng0AI/py-intro-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. Remove Git History (Optional)

rm -rf .git
git init

3. Install Dependencies

pnpm install

Build

pnpm build

Deploy

vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN

Netlify

netlify deploy --prod --dir=dist

Development

pnpm dev

Starts the Slidev server and opens the presentation in your browser. Edit slides in slides.md.

Special Features

  • Interactive Python code execution in slides
  • Multiple theme options