Just some info,CGI is a old and dead/dying 📆
The modern and much better way to do similar stuff to CGI in Python,is to use eg Flask.
Python Wrote:CGI is going to be deprecated in Python 3.8 and removed in 3.10A little history about WSGI(Why is WSGI necessary?) that has taken over written bye Python community that knew that CGI had no future,so new way was needed.
The modern and much better way to do similar stuff to CGI in Python,is to use eg Flask.