Python Forum
I made a real-time python editor - anyone have any feedback?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I made a real-time python editor - anyone have any feedback?
#1
https://github.com/Almenon/AREPL

[Image: arepl%20demo.gif]




Also availible as a VScode extension
(extension not released yet but I am looking for beta testers and would love to send anyone a alpha build)

I posted it previously on reddit and got some good feedback. People were concerned about infinite loops (so I added F1 to restart) and I disabled bracket matching to prevent accidentily executing code (so if the user was typing os.rmdir("C:\importantFolder .... they don't immediately nuke the folder). Unfortunately I'm not able to disable bracket matching in VSCode .... so I'm not sure how to prevent the user from doing stupid stuff.
Reply
#2
Interesting! Nice done!

Any chance running this on Linux without Wine? I am not using Windows and want to try it.

You can't prevent user doing stupid stuff. He/she can do the same in the Python interpreter too. It's not up to you.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
(Jan-19-2018, 05:24 AM)wavic Wrote: Interesting! Nice done! Any chance running this on Linux without Wine? I am not using Windows and want to try it. You can't prevent user doing stupid stuff. He/she can do the same in the Python interpreter too. It's not up to you.

I just added a linux build for AREPL but I don't have a linux OS to test with, so I'm not sure if it will work. But if you run into any problems I would be happy to fix them.

VScode works on any platform: https://code.visualstudio.com/download
The extension should (theoretically) also work on any platform: https://github.com/Almenon/AREPL-vscode/releases

I make the assumption that python 3 is installed and in your PATH as "python" on windows or "python3" on other OS's.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Request for Feedback: Python Website Accessibility jimmyande 2 341 Mar-18-2024, 10:29 AM
Last Post: DeaD_EyE
Star Nodezator v1.4 released! (Python node editor in the public domain) KennedyRichard 0 918 Sep-04-2023, 01:42 PM
Last Post: KennedyRichard
  Lightweight Python editor for beginners Gribouillis 0 763 Dec-23-2022, 06:07 AM
Last Post: Gribouillis
  Tensor flow for real-time shop shelf monitoring DragusPatrick 3 1,223 Dec-10-2022, 03:01 PM
Last Post: Larz60+
Star Nodezator (free Python node editor) released to the public domain! KennedyRichard 4 2,168 Jun-24-2022, 09:49 AM
Last Post: Larz60+
  The best Python editor? c_rutherford 12 5,171 Jul-28-2020, 07:45 PM
Last Post: Marbelous
  Finding python editor Python666 4 43,667 Apr-12-2020, 01:29 PM
Last Post: Python666
  what programming language to learn other than python in real mass-production product? Kai 1 2,109 Apr-12-2020, 04:40 AM
Last Post: Larz60+
  Real Python Course Davy_Jones_XIV 4 2,523 Nov-30-2019, 09:32 AM
Last Post: Davy_Jones_XIV
  Learning Python. Which is a good text editor for MacOS? birb 4 3,316 Feb-18-2019, 08:26 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020