At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
when you downloaded pylab you should saved your files inside this folder and you can execute
Can you be a little more specific please?
inside the folder you downloaded you should keep your archivos.py and you will not have problems
I copied my MIT 6.00 folder into c:\python25 folder and it still generates the same error.
pylab is an extension of matplotlib - i know in matplot lib that it doesn't like it at all if you do not close the plot b4 moving on to executing more code - there are some caveats in the matplotlib documentation about useing the plot.close() method after opening a plot - can't remember the specifics but after a while i started putting a plot.close() statement right after the open() statement ..
There is no open() statement in the code. If I put pylab.close() after pylab.show() it doesn't fix it.
are you 'closing' the figures?
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.show are you running it from a module or at a shell/idle prompt?
I'm using the code in the first post in idle. It's from lecture 13. The first time I run it, everything is ok. Then I close the figure and run it again and it generates the error. If i close python and open it again it runs well.
this http://dpaste.com/795394/ worked for me - i got a figure for each show() with no complaining
That is 2 figures in the same script. Try to run the code that I posted twice. Just close the graphic after the first run and see what happens.
so if put those statements in a file/script/module and ran them (F5) and it produced a figure with two lines. I closed the figure and at the shell prompt ran pylab.show() and got the figure again ... when you say 'run it twice' what does that mean exactly? F5 afain for the script/module window? do you get a traceback? if so can you post it
1) I put this code in a script 2) I run it (F5) 3) I close the graphic that it generated 4) I run it again (F5) I get no graphic and this error: "The python shell window is already executing a command; please wait until it is finished."
i 'ran' it several times like you described without fault. when you close the figures, do you get a prompt in the IDLE shell? can you run anything in the shell?