Simon Willison’s Weblog

Subscribe

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.

# 7:15 pm / python, trey-hunner

2025 » March

MTWTFSS
     12
3456789
10111213141516
17181920212223
24252627282930
31