Skip to content

AlexandrosLiaskos/PyTutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyTutor

An interactive, terminal-based application designed to help users learn the fundamentals of Python programming step-by-step.

Screenshot 2025-04-15 133143 Screenshot 2025-04-15 133203 Screenshot 2025-04-15 133237 Screenshot 2025-04-15 133259

Features

  • Interactive Learning: Learn Python directly within your terminal.
  • Modular Content: Lessons are organized into modules covering various Python topics (Basics, Variables, Strings, Conditionals, Loops, Data Structures, Functions, File I/O, Error Handling, Modules, OOP, etc.).
  • Multiple Lesson Types:
    • Explanations: Clear descriptions of concepts with code examples.
    • Quizzes: Multiple-choice questions to test understanding.
    • Coding Challenges: Hands-on exercises where you write Python code directly in the terminal, with automatic output verification.
  • Progress Tracking: The application saves your completed lessons in progress.json so you can pick up where you left off.
  • Enhanced UI: Uses the rich library for a visually appealing and user-friendly terminal interface (with a basic fallback if rich is not installed).
  • Easy Navigation: Simple menu system to select modules and lessons.

Requirements

  • Python 3.x
  • rich library (for the best experience)

Installation

  1. Clone this repository or download the source files (main.py, content.py, .gitignore, README.md).
  2. Install the required rich library using pip:
pip install rich

Usage

  1. Navigate to the project directory in your terminal.
  2. Run the main script:
python main.py

About

Interactive TUI to learn Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages