Overiding error message when using a python program

Sion Arrowsmith siona at chiark.greenend.org.uk
Fri Apr 22 13:00:57 EDT 2005


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.)


-- 
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
  ___  |  "Frankly I have no feelings towards penguins one way or the other"
  \X/  |    -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump



More information about the Python-list mailing list