Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Eric Thompson
Eric Thompson
9,858 Points

End Help, Return to Console (How??)

In the Python Console, how the heck do you return to where you previously were after calling help?

For example, in the "The Challenge" video for Python Basics, we call the

help(random.randint)

and get the help menu (at 0:56 in the video). At the end of the help definition is the flashing END terminal. At 1:14 Kenneth returns to where he previously was.

I can't figure out how to do that for the life of me! I've tried using the Return key, End key, Esc key, Tab key. I always just end up closing workspaces and starting over.

Can anyone tell me how to get out of the help menu and return to were I previously was? I am on a Windows machine.

1 Answer

Ryan Ruscett
Ryan Ruscett
23,309 Points

Try using the letter q and hitting enter. This gets me out of help.

let me know if this works for you.

Eric Thompson
Eric Thompson
9,858 Points

Thanks for the quick reply Ryan. It actually looks like just hitting q get's the job done (exits help before I can even press enter)!

Thanks again!

Ryan Ruscett
Ryan Ruscett
23,309 Points

Sweet man! Happy to help when I can.