Dir, Help, and Variables

To see all option available for your variable :
dir(variable) will show you all available set of methods or other attributes.
to be able to use the method or attribute you need to use the name and add ().

By doing the help(variable.method_or_attribute)
you will have the reference/help how to use it.

Leave a Comment