If you want to quickly see which attributes and methods of a Python object are available, use rich’s inspect
method.
rich’s inspect
method allows you to create a beautiful report for any Python object, including a string.
You can learn other cool functionalities that rich provide in my article on rich.