Share your repls and programming experiences

← Back to all posts
PyEditor - Run Python Code!
CodingElf66

PyEditor - Run Python Code!

Intro

Hello, Replit Community! This is a PyEditor I made (in Python). It's pretty simple, and all you need to do is type in code! I just learned the exec function, so this just came washing down my brain in only about 10 minutes or so. Anyways, hope you enjoy!

Implements

I think there is a lot to improve on this.

  • Add colors, to make the design more beautiful
  • Make it a Flask Server (so it also looks more stylish)
  • Add a Python Shell

If I manage to add these things on, I'll tell you!

About

PyEditor is a easy Python Console editor that you can write and run code on. If you have any questions, be sure to ask it in the questions!

How To Use

You just type in Python code! When you're done, just press enter/return, and it'll run the output!

Note: You'll have to write anything that needs indentation all in one line, or it'll return an Error. (Also implementing on that)

Closing

Anyways, good luck and have fun with your PyEditors!

Voters
CodingElf66
Comments
hotnewtop
IMayBeMe

I don’t want to be a hater but this is the definition of low effort. Your doing literally nothing except using an inbuilt function and passing it off as this amazing python editor.

CodingElf66

@IMayBeMe Wdym I added all sorts of creative things and is still implementing the design. This isn't low effort, this is just like a basic Python program, then I'll take it to the next level by using Flask and designing it. Think before you say, man.

IMayBeMe

@CodingElf66 but you have to understand that fundamentally the program is designed around an inbuilt function. All the beautifying doesn’t hide the fact that there is nothing impressive about this. I get that your going to add more features, but why post before your done with those? It’s makes no sense to post something that you yourself say it unfinished

CodingElf66

@IMayBeMe People post, then think, then implement. You see with lots of posts, too. You need to post first, then people can give great ideas. I was first stuck on ideas, then I searched Google and it gave me these ideas on the Implements above. So hope you understand.

CodingElf66

@IMayBeMe If you are saying my thing is low effort, you can also say that Replit's Python Console is low effort, because I also was inspired and tried to design it like that?

IMayBeMe

@CodingElf66 one your post you suggested making a webpage from it which would make it a lot cooler. From what I can see this was already something you had thought of before any of the comments. So you had additional ideas which you could have first done instead of rushing to just get the post finished.

IMayBeMe

@CodingElf66 replit is not even comparable to this. They are a huge website with a plethora of features and a robust backend

CodingElf66

@IMayBeMe Yes, I've only seen people like ruiwenge2 do it. I don't really know HTLM/CSS/JS, I just thought that that would be a good project that I can do later. Because I'm more of a Python coder.

CodingElf66

@IMayBeMe I'm saying the Python Console before you run this program. It pretty much is the same thing, and my thing even has colors.

figglediggle

@IMayBeMe *you're

IMayBeMe

@figglediggle bruh, thanks for catching that though

MrVoo

It's an okay start, but a few ideas: DONT USE COLORAMA, COLORAMA BAAAAAD, idea number two, make it so you can use multiple lines before running, and idea three, make error messages be more specific

CodingElf66

@MrVoo Ok. I like colorama only because its simple, I'm not going to browse through all Python colors \033[1m to \033[100m, its just too annoying. For the lines part, I will be working on that (I thought this like a Python Console like on Replit, that was my intention). For the Error part, I'll try!

MrVoo

@CodingElf66 That's not how colors work. First of all, the default colors only go from 90 to 100 (I think), AND it adds an unnecessary import, wasting time I could've used for staring at a wall. You can make a custom RGB color function with zero imports like this:

CodingElf66

@MrVoo Haha I saw your suggestion on your rgb() function lots of times. Its good, I'm actually using that for my Dungeon Adventure project (because it'll have lots of colors), but for this I'll just use colorama's colors because its just so much simpler.

MrVoo

@CodingElf66 **heavy breathing**

CodingElf66

@MrVoo Lol. Hope you're ok. If you are, I'll give you 3 upvotes here. (I'm not taking any responsibility if anything happens to you) **heavy breathing**