Skip to content
Sign upLog in
Change language of repl
Profile icon

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
Profile icon

You could make a .replit file, add the following code: run = "html {filename}.html". Just replace the {filename} with the html file name and you should be good to go.

Hope this helps!

Profile icon

it just says the command isn’t found

Profile icon

I'm not sure if you can do that but view this replit here. It's called 'Python but it's JavaScript' Here's the link:

Hope this helps.