Like most Python developers, I typically keep a console window open with the Python interpreter running to test commands, dir() stuff, help() stuff
dir()
help() stuff
If you don't need to do it through code, just press CTRL+L