I followed the instructions from How to serve static files in Flask, but still couldn\'t get it working.
Here\'s my project structure:
Project_path
One possible cause of 404 error for pages you just added (even if programmed correctly), is if you have previous versions of the script (.py file) still running: make sure to close out and end (terminate) the process.