+ 1
Inserting a html file into python file
I'm using Pycharm on Windows 10 and I'd like to use an html file inside python file, so what should I do? I have my code already written, but the webpage seems not to run this html file even when I have these both files in one folder on my PC. Tutorial I'm refering to uses a render_template method for displaying these html pages, so how to deal with that? Thanks!
1 Answer
+ 2
If you use flask framework to create a website ,then you can insert html file
https://www.tutorialspoint.com/flask/flask_templates.htm