IDLE Namespace Toolbox? Windows.
Chris Rebert
clp2 at rebertia.com
Sun Jan 17 19:20:43 EST 2010
On Sun, Jan 17, 2010 at 4:11 PM, W. eWatson <wolftracks at invalid.com> wrote:
> John Bokma wrote:
>> "W. eWatson" <wolftracks at invalid.com> writes:
>>
>>> This is a follow up to my post "Changing Lutz's mydir. It would seem
>>> there should be some sort of toolbox that allows one to do things like
>>> mydir, and perhaps a lot more. Maybe something like it exists in
>>> Linux. I'm a Windows user. I've found it a bit aggravating that using
>>> dir and help, for example, that the output just rolls on off the
>>> screen and I have to play around with the shell scroll bars to find
>>> what I'm looking for. A few simple changes to mydir should change
>>> that, but I would hope or think maybe there are even more tools to
>>> generally help.
>>
>> on the command prompt:
>>
>> cmd | more
>>
>> works
>
> Apparently, not in IDLE under Win.
>>>> dir() | more
> Traceback (most recent call last):
> File "<pyshell#42>", line 1, in <module>
> dir() | more
> NameError: name 'more' is not defined
Er, that's supposed to be run in the terminal, not in IDLE. Presumably
you'd then run python.exe from the same terminal after issuing that
command.
Cheers,
Chris
--
http://blog.rebertia.com
More information about the Python-list
mailing list