On 20/02/06, Kermit Rose <[EMAIL PROTECTED]> wrote: > Why? Is it because the windows copy and paste throws away the extra > carriage returns?
Um --- could be. Do you need to use copy and paste? For instance, say all your functions are in a file called "factorization.py". In IDLE, you could type "import factorization", and then you'll be able to call your functions by typing things like "factorization.gcd(x, y)". If you change the code, you can reload the module by using the 'reload' builtin function. > I made changes to one of the function subroutines, and recopied that function > to the shell > and I put print statements in the new version of the function subroutine. > > None of the new print statements are printing. > > It's as if the old version is still runing. > > Is there anything short of closing the shell and re-opening it that I can do > to fix this? Have you tried restarting IDLE? The first thing to do would be to verify that the problem is what you think it is (as opposed to a bug in your code, for example). -- John. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor