Getting input the scanf way

MRAB python at mrabarnett.plus.com
Wed Jul 1 20:26:09 EDT 2009


Mr.SpOOn wrote:
> Hi,
> I need to do some kind of interactive command line program.
> 
> I mean: I run the program, it asks me for input, I type something and
> then I get the output or other questions.
> I'm not sure what is the right way to achieve this.
> 
Use raw_input() and print.



More information about the Python-list mailing list