In my program, I have the following bit of code:
PHP Code:
#Displaying list of names in addressbook.dat  
def displayName(book): 
I found out about the .keys() method online, googling for dictionary functions and just happened to stumble upon the correct method to use.
So my question is, in the Python shell, how could I have found out about the .keys() method using the help() method? And further, how can I find out about similar methods, as well as what arguments I can use inside the .keys() method parenthesis.

I'm trying to teach myself programming, and effectively using the help() method will be a great advantage.