#NEWLINE# def get_class( path ) : #NEWLINE# #INDENT# 'Get a class object.\n\n    Return a class object from a string specifiying the full package and\n    name path.\n    ' #NEWLINE# ( modulename , classname ) = path . rsplit ( '.' , 1 ) #NEWLINE# mod = Import ( modulename ) #NEWLINE# return getattr ( mod , modulename )