April 29th, 2013, 11:46 AM
In Python shell, how would I have found help on the following bit of code?
In my program, I have the following bit of code:
I found out about the .keys() method online, googling for dictionary functions and just happened to stumble upon the correct method to use.
#Displaying list of names in addressbook.dat
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.