Re: [Tutor] interactive script

2014-01-31 Thread Alan Gauld
On 31/01/14 15:08, Gabriele Brambilla wrote: Hi, I'm very new to Python (just 5 days!) is there a possibility to write an interactive script? Yes, If using Python v3 use input() If using Python v2 use raw_input() (and definitely not input() ) You'll get a string back so may need to convert it

Re: [Tutor] interactive script

2014-01-31 Thread Mark Lawrence
On 31/01/2014 15:38, Gabriele Brambilla wrote: Please don't top post on this mailing list. to simplify the question: does a command like cin in C++ or scanf in C exist?? thanks Gabriele 2014-01-31 Gabriele Brambilla mailto:gb.gabrielebrambi...@gmail.com>>: Hi, I'm very new to Pytho

Re: [Tutor] interactive script

2014-01-31 Thread Gabriele Brambilla
to simplify the question: does a command like cin in C++ or scanf in C exist?? thanks Gabriele 2014-01-31 Gabriele Brambilla : > Hi, > I'm very new to Python (just 5 days!) > is there a possibility to write an interactive script? > in the sense that: > > - you run your script and it do some th

[Tutor] interactive script

2014-01-31 Thread Gabriele Brambilla
Hi, I'm very new to Python (just 5 days!) is there a possibility to write an interactive script? in the sense that: - you run your script and it do some things that you don't want to type everytime you run the program - but at a certain step I want that it ask me question like "which column of thi