Using Flask to embed a local HTML page [duplicate]
This question already has answers here : How to serve static files in Flask (16 answers) So I am using this cool plugin called Folium which creates maps. The map gets created as a .html and every time you update the map it regenerates the html. So in order to display the map and my navbar and other stuff on the same page I think I would need to put map.html inside an iframe cage where it can refresh itself at will. The map gets created thus: map1 = folium.Map(location=[45.5, -73.61], width="100%", height="100%") map1.save('./maps/map.html') And I have tried iframeing it thus: <iframe src="