Flask is best suited for your task,is the most mature of the Microframeworks and the highest rated of all Python web-framework on
Github 26k.
CGI is dead for all usage in Python after
WSGI(an all Python solution).
The way this work for Flask or Django is that they have build in web-servers.
So you can build and test all local,when happy and want to deploy(share with the world).
Now you think of Hosts and deploy options.
Good hosts for Python Digital Ocean, Heroku ,PythonAnywhere, AWS Lambda.
When you deploy you don't use the build in web-server anymore.
Eg for
Digital Ocean i always use
Gunicorn with
Ngix.
Easier option are PythonAnywhere and AWS Lambda they to all deploy stuff for you.
So eg
PythonAnywhere is running
uWSGI with
Ngix but they to all setup.
Same with
AWS Lambda(serverless web applications)
Quote:all with zero administration.
Just upload your code and Lambda takes care of everything required to run and scale your code with high availability