Mixing languages in one repl
iiap623616 (1)

Hi,
I was wondering if it is possible to run more than one language in one and the same repl.
For example, I would like to generate an html+javascript page using Python, and then be able to run that page just like I do in an HTML repl.
If I create a Python repl for example, there is no way to run the HTML file - even if I have it in that repl.
Thank you in advance for the clarification.
Eugene.

You are viewing a single comment. View All
Answered by mat1 (2756) [earned 5 cycles]
View Answer
pyelias (936)

If you specifically want to create html+js in Python, you can use a framework like Flask or Django to create a webserver.