Overiding error message when using a python program

Brian van den Broek bvande at po-box.mcgill.ca
Fri Apr 22 19:41:21 EDT 2005


Sion Arrowsmith said unto the world upon 2005-04-22 13:00:
> Brian van den Broek  <bvande at po-box.mcgill.ca> wrote:
> 
>>you've not included the part of your code which acts on the 
>>user's input.
> 
> 
> I think you'll find the answer to the question of where the code
> that acts on the user's input lies here:
> 
> 
>>(And your prompt_user function should use raw_input and 
>>return the user input for processing by other functions. raw_input is 
>>safer; input executes arbitrary code.)
> 

Quite so  :-[   I think I must have typed the two parts which you 
quote with different hands, because obviously my brain didn't manage 
to see them both at once.

Thanks for pointing that out.

Best,

Brian vdB



More information about the Python-list mailing list