I want to obtain a string list of all the keywords used in Python. If I could accomplish the same thing for built-in functions, that would also be quite cool.
Possibly like this:
import syntax
print syntax.keywords
# prints ['print', 'if', 'for', etc...]