Re: Getting input the scanf way

2009-07-03 Thread Mr.SpOOn
Thanks, I think raw_input() will work just fine for my needs. -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting input the scanf way

2009-07-01 Thread alex23
On Jul 1, 6:33 pm, "Mr.SpOOn" wrote: > 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. While the simplest way wou

Re: Getting input the scanf way

2009-07-01 Thread MRAB
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. -- http://mail.python.o

Getting input the scanf way

2009-07-01 Thread Mr.SpOOn
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. Thanks, Carlo -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting input the scanf way

2009-07-01 Thread Bruno Desthuilliers
Mr.SpOOn a écrit : 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. Simplest : use raw_input() Friendlier (at least