Hi
On 8 October 2016 at 05:51, boB Stepp wrote:
> I think I now understand why I am getting this EOF exception.
>
> On Fri, Oct 7, 2016 at 10:16 PM, boB Stepp wrote:
>> My current get_input() function:
>>
>> ==
>> def get_input():
>> '''Get
Hi.
I have just installed Python 2.7.12 ( i have windows xp).
I created a program called HW.py that runs under a command prompt, but Python
Shell gives the following error:
Traceback (most recent call last):
File "", line 1, in
HW.py
NameError: name 'HW' is not defined
Can someone plea
I realize that my question is not about the standard library. The only
reason I am asking here is, if I remember correctly, a regular
contributor, Danny Yoo, works at Yahoo. I am hoping he, or someone else
here can help me understand what is happening.
I am writing a program using the yahoo_fi
On 08/10/16 07:18, Steven D'Aprano wrote:
> Testing code that depends on user input is always tricky. There are a
> few ways to deal with it:
>
> (5) Or you could manually monkey-patch sys.stdin as you do.
A variation on this that I have used is to read the input
from stdin as usual but redirec