PyCodeCraft is an interactive mini Python IDE that lets you learn, test, and optimize Python code in a user-friendly GUI. Designed using Tkinter and built with custom Lexical Analyzer, Parser, and Interpreter, this tool is perfect for Python learners and enthusiasts.
🔹 Welcome Dashboard
- Easy navigation between modules: Learn, Test, and Optimize.
🔹 Learn Python Module
- Interactive learning cards for core Python concepts:
Variables,Loops,Functions,File Handling,Exception Handling, and more.
🔹 Test Module (Python Editor)
- Built-in syntax-highlighted code editor.
- Real-time code execution with output panel.
- Supports custom Python logic including loops, functions, lists, and try-except.
🔹 Code Optimizer
- Beautify and auto-format your Python code using the
blacklibrary. - Supports Copy to Clipboard and Save as File options.
🔹 Interpreter Core
- Built with
PLY(Python Lex-Yacc) and custom AST nodes. - Handles variables, expressions, conditionals, loops, user-defined functions, and error handling.
Python 3Tkinterfor GUIPLY(lex & yacc) for lexical analysis and parsingblackfor code optimization- OOP-based AST and Interpreter structure
- Mayank Singh
- Piyush Kumar
- Kartik Kapri
- Kumkum Pandey
- Make sure Python 3 is installed.
- Install required libraries:
pip install ply black