Re: [Tutor] cgi module help (original poster)

2019-08-14 Thread rmlibre
On 2019-08-13 15:49, tutor-requ...@python.org wrote: > Send Tutor mailing list submissions to > tutor@python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/tutor > or, via email, send a message with subject or body

Re: [Tutor] cgi module help

2019-08-13 Thread Peter Otten
rmli...@riseup.net wrote: > I have a question about the cgi module. > > I'm trying to retrieve post data as a nested dictionary from client > code. > > For instance: > > > > """client code""" > from requests import sessions > from datetime import datetime > > session = sessions.Session() >

[Tutor] cgi module help

2019-08-12 Thread rmlibre
I have a question about the cgi module. I'm trying to retrieve post data as a nested dictionary from client code. For instance: """client code""" from requests import sessions from datetime import datetime session = sessions.Session() date = str(datetime.now()) msg_id = 0001 message =