You are browsing as a guest. Sign up (or log in) to start making projects!

CodeKidsIDE

  • 1 Devlogs
  • 4 Total hours

CodeKidsIDE A verry simple ide for kids with lots of options for them, including lessons and explained debugging

Ship #1

What I did:
I built a simple Python IDE for kids using CustomTkinter. It has a code editor, a file explorer, and a run button. I also added a lessons tab with badges and a beginner mode that explains errors.

What was hard:
The hardest part was running the code without freezing the app. I had to learn how to use the threading module to run the subprocess in the background. Also, CustomTkinter textboxes do not support tags well, so I had to use the standard tkinter Text widget for the editor to get syntax highlighting and line numbers working.

What I am proud of:
I am proud of the error helper. Python tracebacks are scary for an 8 year old. I wrote a script that reads the errors and gives simple hints, like telling them they forgot a colon or that they cannot divide by zero.

What people should know to test it:
You need to install customtkinter first. Try the templates like the Snake Game and go through the lessons tab to see how the badges unlock. I will modify it in the future to add more features.

  • 1 devlog
  • 4h
Try project → See source code →
Open comments for this post

4h 23m 55s logged

I tried to build a simple Python IDE for kids using CustomTkinter. I wanted a clean layout with a code editor, file explorer, and a run button that doesn’t freeze the app. I also wanted to translate scary Python errors into simple English and add a lesson system with badges.I managed to do it by using the threading module to run code in the background. I used standard tkinter Text widgets for the code editor so I could add syntax highlighting and line numbers. For the errors, I wrote a helper script that uses regex to find common mistakes and prints friendly hints. The lessons and badges are stored in a local JSON file.I will modify it in the future. Right now the input function doesn’t work because of the background thread, so I want to fix that. I also plan to add more templates and maybe drag and drop file support.

0
Original post
@Nanos

I tried to build a simple Python IDE for kids using CustomTkinter. I wanted a clean layout with a code editor, file explorer, and a run button that doesn’t freeze the app. I also wanted to translate scary Python errors into simple English and add a lesson system with badges.I managed to do it by using the threading module to run code in the background. I used standard tkinter Text widgets for the code editor so I could add syntax highlighting and line numbers. For the errors, I wrote a helper script that uses regex to find common mistakes and prints friendly hints. The lessons and badges are stored in a local JSON file.I will modify it in the future. Right now the input function doesn’t work because of the background thread, so I want to fix that. I also plan to add more templates and maybe drag and drop file support.

Replies

Loading replies…

0
2

Followers

Loading…