def PrintResource(resource):
 print resource.resource_id.text, resource.GetResourceType()

def PrintResource ( resource ) : print resource . resource_id . text , resource . GetResourceType ( )
display a resource to standard out .