So, are stupid #Python CGI scripts now #Deprecated? I can't seem to find a #CGI replacement. Or is CGI just deprecated?
@doctorwhom looks like it's just the CGI module which is deprecated: https://discuss.python.org/t/alternative-function-for-deprecated-cgi/21960
Alternative function for deprecated cgi

To my surprise, I received the following warning in my Apach system: DeprecationWarning: ‘cgi’ is deprecated and slated for removal in Python 3.13. I need the function cgi.FieldStorage() for extracting parameters from each Internet request from my web system such as ‘?aaa=111&bbbb=222&ccc=333’. What is the best alternative function for cgi?

Discussions on Python.org

@kevin

The CGI module has issues, it's allowed to go away. But there should still be a stupid CGI module. For simple scripts. Parse the input, run code for the output, provide a http header for the output. I'm already jumping through SELinux hoop to get that to work. Just the CGI interface, no extra apache modules.

Or is there an option & I'm missing it?

I don't want to create, even an sqlite, database for everything.

@doctorwhom this isn't my specialty and I'm not involved in any of the CGI module deprecation discussions, but I believe CGI itself should still work for Apache. The usual alternative is a micro-framework like Flask or Bottle or to make use of the `http.server` module to handle the requests.