On 12/22/2009 6:39 AM, W. eWatson wrote:
Wow, did I get a bad result. I hit Ctrl-P, I think instead of Alt-P, and
a little window came up showing it was about to print hundreds of pages.
I can canceled it, but too late. I turned off my printer quickly and
eventually stopped the onslaught.
I couldn't get Alt-P or N to work.
Another question. In interactive mode, how does one know what modules
are active? Is there a way to list them with a simple command?
What do you mean by "active"? All loaded modules, whether it is in your
namespace or not? Then sys.modules.
Else if you want all names in your namespace, dir() would do, though
it'll show other things as well.
--
http://mail.python.org/mailman/listinfo/python-list