Python Forum
How to scroll through results from help(object)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to scroll through results from help(object)
#1
Hello,
I would just like to have a way to see the output from help without it spewing the entire result.

I want to do something theoretical like:

help(my_var) | less

which would let me see the result of help and press a button to scroll through it.

I tried searching for "help method" and "help spam" but did not find anything in the forum. I've also been googling to no avail.

Any help on this subject appreciated.
Reply
#2
Try this:

python -c "help('datetime')" | less
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  I want to be able to scroll up in curses to see previous text. Caiden 1 716 Jul-28-2023, 01:15 PM
Last Post: deanhystad
  Search Results Web results Printing the number of days in a given month and year afefDXCTN 1 2,190 Aug-21-2020, 12:20 PM
Last Post: DeaD_EyE
  How to append one function1 results to function2 results SriRajesh 5 3,072 Jan-02-2020, 12:11 PM
Last Post: Killertjuh
  Need help trying to scroll a page with selenium tapeboxparts 4 2,726 May-10-2019, 08:01 PM
Last Post: tapeboxparts

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020