[IronPython] Real python question
detlef.stute at seatec-gmbh.com
Mon Apr 3 11:22:01 CEST 2006
I have a question about the differences in the behavior of the console .
I use the following code ( spaces marked with dots):
..print 'and now?'
If I enter this at a console ( ironpythonconsole or python24) this will
not work with the empty line ( or if I don't use the empty line) it will
create an error at "print 'Start') because it expects an empty line at
the end of a block.
If a save that in a file and call the programs with the file as
parameter, everything works fine.
Is this behavior a "must have" or specified?
The reason for my question is, that I split the python files into lines
and pass them to the interpreter line by line ( as an Iconsole) to have
the capabilities to interrupt/ pause the process and inform the user
about the progress ( line counter).
More information about the Ironpython-users