Skip to content
Sign upLog in
Change language of repl
Profile icon
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
Profile icon
JBloves27

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
ruiwenge2

@JBloves27
it just says the command isn’t found

Profile icon
Bluelight4251

@ruiwenge2
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: https://replit.com/@RayhanADev/Python-but-its-Javascript?c=79349

Hope this helps.