LottaMe / pylet

A tool to learn python that is inspired by rustlings.
MIT License
0 stars 0 forks source link

File execution should be stopped on on_modified #36

Closed LottaMe closed 5 months ago

LottaMe commented 6 months ago

Description

When a file can be "compiled" and isn't marked as a test file, it is executed. Now if a file has e.g. an infinite while loop, the user should see that result (so if its an infinite loop that is continuously printing something, they should see that), and be able to stop it by modifying the file again. From what I understand so far using multiprocessing might be the way to go.