I have 2 modules.
runtest.py
, where main is defined andif name == "main": # general purpose library na = nalib.NALib() ... classnames = na.get_classnames(classes)
Hence I'm getting all the classes preset in the module in 'classnames'
libna.py
This is where
NALib
class andget_classnames(self, classes)
is defined.
Now to manipulate with classes
further, I need to have attributes of classnames
(present in runtest.py
)
I checked with getattr
syntax that we need object and name for the same. Hence I'm not sure what is the exact way to print out attributes of classnames using getattr
?