Mixing languages in one repl
I was wondering if it is possible to run more than one language in one and the same 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.
@mat1 This will likely be my next step. But for now I am looking for a way to just do that -- generate an HTML file and then open it in a browser. Ideally, I would have everything in one environment (like a directory), all of it being online (not having to install anything locally).
@iiap623616 with flask you can generate your file then use
from flask import Flask, render_template app = Flask(__name__) @app.route('/<string:page_name>/') def render_static(page_name): return render_template('%s.html' % page_name) if __name__ == '__main__': #Html stuff generator. app.run()