Change language of repl
ruiwenge2

If I had a Python repl, how can I change the language to HTML without deleting it?

You are viewing a single comment. View All
[deleted]

Super long answer: NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!! OK, why? Well, there is always going to be a file that the console looks for, like index.html for HTML and main.py for Python, and if it doesn't find it, it won't run.

The only way to change the file is to delete the existing ones, then add a new one in the language that you wanted, but then it will say repl died unexpectedly because it can't find the main file.