From: Peter C. N. <spa...@le...> - 2005-02-25 16:24:24
|
I've tried to copy and paste code from the editor window to the shell, but it seems that once multiple lines are pasted that the shell doesn't evaluate the code. Its in the command line history as a block that I can return to using <ctrl>-<up-arrow>, but when I hit enter its not evaluated again. Is this something fixed? This is in the debian pythoncard distribution. An example of this is the following snippet: >>> time = "now" ... second_part = "is the time" ... if time == "now": ... print second_part >>> >>> time = "now" ... second_part = "is the time" ... if time == "now": ... print second_part >>> [ Starting herer is where I did a line-by-line cut-n-paste] >>> time = "now" >>> second_part = "is the time" >>> if time == "now": ... print second_part ... is the time >>> -Peter -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. |