Thanks, I think raw_input() will work just fine for my needs.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
--
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.
--
On Jul 1, 6:33 pm, Mr.SpOOn mr.spoo...@gmail.com 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