program in interactive mode

2004-12-26 Thread B.G.R.
Hi all, I'm working on an interpreter for a university subject, which is programmed in python under linux. I got most of the work done and I'm just trying to settle some problems I've found on my way. Right now, the most important is reading the user input. Everything goes through the standard inp

Re: program in interactive mode

2004-12-26 Thread B.G.R.
"Alex Martelli" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > B.G.R. <[EMAIL PROTECTED]> wrote: >... > > numline=0 > > for line in sys.stdin: > > numline+=1 > > workwithline(line) > > Consider the a