Net-informations.com
SiteMap  | About    

Getting attributes of a python class

The inspect module provides several useful functions to help get information about live objects such as modules, classes, methods, functions, tracebacks, frame objects, and code objects. The getmembers(object) method return all the members of an object in a list of (name, value) pairs sorted by name.

example

output









net-informations.com (C) 2017    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.