Monday, 3rd March 2025
The features of Python’s help() function
(via)
I've only ever used Python's help()
feature by passing references to modules, classes functions and objects to it. Trey Hunner just taught me that it accepts strings too - help("**")
tells you about the **
operator, help("if")
describes the if
statement and help("topics")
reveals even more options, including things like help("SPECIALATTRIBUTES")
to learn about specific advanced topics.