Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print statements without ()
#8
(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.
Reply


Messages In This Thread
print statements without () - by petec - Jun-16-2022, 03:58 AM
RE: print statements without () - by ndc85430 - Jun-16-2022, 04:48 AM
RE: print statements without () - by snippsat - Jun-16-2022, 04:58 AM
RE: print statements without () - by Gribouillis - Jun-16-2022, 05:34 AM
RE: print statements without () - by snippsat - Jun-16-2022, 02:48 PM
RE: print statements without () - by Gribouillis - Jun-16-2022, 03:49 PM
RE: print statements without () - by petec - Jun-17-2022, 01:45 AM
RE: print statements without () - by snippsat - Jun-17-2022, 02:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to combine print statements in for loop adeana 2 2,054 Jun-12-2020, 05:08 PM
Last Post: adeana
  If-Print statements on the same line ClassicalSoul 1 2,309 Jan-31-2019, 02:14 PM
Last Post: buran
  How to execute a string with multiple sqlite statements and print results? shanepy 0 2,294 Nov-20-2018, 10:19 PM
Last Post: shanepy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020