(Jun-17-2022, 01:45 AM)petec Wrote: I thought I posted a reply but it seems to have been lost. I said something like I can't believe that cgi is dead. There are hundreds of sites explaining how to implement it with python.Have you not look at dates of those tutorials,they are old no one make tutorials for CGI anymore.
A little history Python did know that CGI(limited to one request at time) had no future,so Python community did write an all Python solution PEP 3333.
Why is WSGI necessary
Today is all Python web-frame build on top this solution(
WSGI
),and CGI is not used at all.(Jun-17-2022, 01:45 AM)petec Wrote: I have spent many weeks creating twoo websites using cgi. I can't abandon that work to start over.It's not so hard to move code over to Flask.
(Jun-17-2022, 01:45 AM)petec Wrote: Why hasn't this been all over the internet?It's been more a quiet transition after the first pep 333 in 2003.
People that follow web-development in Python so is this old news,but new people sometime see all the old CGI tutorials and think that is still used,
which is not at all.