Use a pager to display documentation when executing help()
in the REPL
#1461
Replies: 5 comments
-
So your creating a script consisting of import turtle
help(turtle) ... and running it? |
Beta Was this translation helpful? Give feedback.
-
No. In the repl.
…On Saturday, July 20, 2019, Zander ***@***.***> wrote:
So your creating a script consisting of
import turtle
help(turtle)
... and running it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#886?email_source=notifications&email_token=AAACKRKTUOTKAJYOKAVLEW3QAN76BA5CNFSM4H7MFGA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NWMOI#issuecomment-513500729>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAACKRJJYX4ZIRV4LRVZXPLQAN76BANCNFSM4H7MFGAQ>
.
|
Beta Was this translation helpful? Give feedback.
-
I'm confused? Perhaps a screenshot? |
Beta Was this translation helpful? Give feedback.
-
Go into either of the repl in Mu (there are two different ones in Mu, one
using ipython).
import turtle.
help(turtle)
Now compare the behavior to a different python repl. The standard python in
a terminal(cmd prompt) shows the top of the help, and uses a pager (less).
Mu shows the bottom of the help.
Hope that helps. That’s all I got. Have a nice day.
…On Sunday, July 21, 2019, Zander ***@***.***> wrote:
in the non python repl
In the repl
I'm confused? Perhaps a screenshot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#886?email_source=notifications&email_token=AAACKRL233AWGYMZRQLUHCTQAQT6BA5CNFSM4H7MFGA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2N7SFY#issuecomment-513538327>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAACKRLLISG2TL32BF3ANO3QAQT6BANCNFSM4H7MFGAQ>
.
|
Beta Was this translation helpful? Give feedback.
-
I will update the title of this issue to include the mention of a pager, I guess that will clear up some confusion. For anyone who hasn't tried it, running |
Beta Was this translation helpful? Give feedback.
-
What you were trying to do,
help(turtle)
What you expected to happen,
To see the top of the help.
A very long time to print the help text in the non python repl. In the ipython repl it showed the bottom of the text.
Instead of seeing the top of the help you see the bottom of it. Because you need to scroll to begin reading the help.
Beta Was this translation helpful? Give feedback.
All reactions