Access members of objects, dicts, and lists
masterYou can navigate Python structures through the CLI by appending names or indices as arguments:
- Objects: Append the member name (method or property). Note that property names like
high_scorecan be accessed using kebab-case:high-score. - Dicts: Append the key name to access the corresponding value.
- Lists/Tuples: Append the integer index to access the element at that position.
Example patterns:
command member_name(Method/Property)command key_name(Dict key)command 2(List index 2)