shortcutpython

python help() function shortcuts


What are shortcuts of Python help() function used in Python interpreter?

I'm interested for help content that doesn't fit to window and shows "-- More --" at the bottom. I found q quits help(). What is a shortcut to show the whole article w/o pressing Enter many times?


Solution

  • On my (Linux) machine help seems to be using "less". Press "h" when in help to see a complete list of shortcuts/commands. I'm not sure if this will work on Windows though.