Python Tutor is a command-line interface program that acts as a personal Python tutor, utilizing the OpenAI Assistant API to interactively teach Python programming.
You can type your Python programs in the terminal and get real-time feedback from the tutor. The tutor will also suggest new exercises based on your progress.
This program creates a personalized Python learning session, leveraging OpenAI's Assistant API to provide real-time tutoring for Python learners. It is designed for high school students or anyone starting with Python. The tutor tracks user progress and suggests new exercises as the user advances.
- Interactive CLI for a personalized Python tutoring experience.
- Real-time feedback and exercise suggestion based on user input.
- Use of OpenAI's powerful Assistant API to simulate a Python tutor.
To install the required dependencies, navigate to the project directory and run:
pip3 install -r requirements.txt
To run this project, you will need to add the following environment variables to your .env file:
OPENAI_API_KEY=Your OpenAI API key.
To start the tutoring session, run the following command in your terminal:
python3 home.py
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
This project is licensed under the Apache License v2.0. See the LICENSE file for more details.
Create a nice Streamlit wrapper like in https://github.com/BenderScript/VidBot