Skip to content
loading...

re: Use dot syntax to access dictionary key - Python Tips VIEW POST

FULL DISCUSSION
 

Wow, I tried to implement this a while back and failed because I didn't know __getattr__ was a thing and tried to use __getattribute__! Thanks for this.

code of conduct - report abuse