Hi,
I have written a simple python/Flask app to convert numbers to roman numerals. I have tested it locally without issue and in the console as well.
I have "mysite" setup with some basic html and am running into issues.
I have written into my script to "try" my script and if an exception is raised (like someone inputs some words or letters/character) to declare "only numbers please!".
Right now, whatever number you put into the text box the response is "only numbers please!".
The site is up, Flask seems to be working and I've reviewed the html. The only thing I can think is that somehow the html is adding something to the user input so that it trips my except: clause.
Any ideas?
Checking the error log suggests: "Error running WSGI application ModuleNotFoundError: No module named 'app' "
This doesn't make sense to me as the site is up and running so the app.py is running, but something is happening to the input.
http://avigranite.pythonanywhere.com/