(May-30-2024, 08:54 AM)robertkwild Wrote: sorry but why have you created a two documents a "test.py" and a "index.html" cant you have it all in one documentNo(can but ugly),Flask use a
templates/
folder for eg html/css/js files.project_directory/ │ ├── templates/ │ └── index.html │ └── test.pyRun in project_directory/
flask --app test runAlso virtual environment is advisable when doing this.