Re: PEP 594 cgi & cgitb removal

2019-05-25 Thread Roel Schroeven
Jon Ribbens via Python-list schreef op 25/05/2019 om 21:00: On 2019-05-25, Michael Torrie wrote: On 05/24/2019 04:27 AM, Jon Ribbens via Python-list wrote: Sorry, in what sense do you mean "Serverless is CGI"? As far as I can tell, it's just a script to automatically upload bits of code into

Re: PEP 594 cgi & cgitb removal

2019-05-25 Thread Marko Rauhamaa
Jon Ribbens : > On 2019-05-25, Michael Torrie wrote: >> Not really. Serverless just means stateless web-based remote >> procedure calls. This is by definition what CGI is. > > No, it isn't. CGI is a specific API and method of calling a program in > order to serve a web request. It isn't a shorthan

Re: Implementing C++'s getch() in Python

2019-05-25 Thread Random832
On Sat, May 25, 2019, at 10:07, binoythomas1...@gmail.com wrote: > Hi Shakti! > > Thanks for your response. I have tried getpass() but got the following > warning: > > Warning (from warnings module): > File > "C:\Users\Binoy\AppData\Local\Programs\Python\Python37-32\lib\getpass.py", > line 1

Re: PEP 594 cgi & cgitb removal

2019-05-25 Thread Jon Ribbens via Python-list
On 2019-05-25, Michael Torrie wrote: > On 05/24/2019 04:27 AM, Jon Ribbens via Python-list wrote: >> Sorry, in what sense do you mean "Serverless is CGI"? >> >> As far as I can tell, it's just a script to automatically upload >> bits of code into various cloud providers, none of which use CGI. >

Re: Implementing C++'s getch() in Python

2019-05-25 Thread Paul Moore
On Sat, 25 May 2019 at 12:12, wrote: > > I'm working on Python 3.7 under Windows. I need a way to input characters > without echoing them on screen, something that getch() did effectively in > C++. I read about the unicurses, ncurses and curses modules, which I was not > able to install using p

Re: Implementing C++'s getch() in Python

2019-05-25 Thread binoythomas1108
Hi Shakti! Thanks for your response. I have tried getpass() but got the following warning: Warning (from warnings module): File "C:\Users\Binoy\AppData\Local\Programs\Python\Python37-32\lib\getpass.py", line 100 return fallback_getpass(prompt, stream) GetPassWarning: Can not control echo

Re: Handling an connection error with Twython

2019-05-25 Thread Cecil Westerhof
MRAB writes: > On 2019-05-24 09:25, Cecil Westerhof wrote: >> Dennis Lee Bieber writes: >> >>> On Fri, 24 May 2019 07:49:23 +0200, Cecil Westerhof >>> declaimed the following: >>> I did not do that consciously, because I have to try until it is successful an I return, or I reached

Re: Implementing C++'s getch() in Python

2019-05-25 Thread Shakti Kumar
On Sat, 25 May 2019 at 4:43 PM wrote: > I'm working on Python 3.7 under Windows. I need a way to input characters > without echoing them on screen, something that getch() did effectively in > C++. try getpass module. Typically this would be, import getpass variable = getpass.getpass('your prom

Implementing C++'s getch() in Python

2019-05-25 Thread binoythomas1108
I'm working on Python 3.7 under Windows. I need a way to input characters without echoing them on screen, something that getch() did effectively in C++. I read about the unicurses, ncurses and curses modules, which I was not able to install using pip. Is there any way of getting this done? --