def show_name_details(book, name, show_contents=0, f=sys.stdout):
 name_lcase = name.lower()
 nobj_list = book.name_map.get(name_lcase)
 if (not nobj_list):
  print(('%r: unknown name' % name), file=f)
  return
 for nobj in nobj_list:
  show_name_object(book, nobj, show_contents, f)

def show_name_details ( book , name , show_contents = 0 , f = sys . stdout ) : name_lcase = name . lower ( ) nobj_list = book . name_map . get ( name_lcase ) if ( not nobj_list ) : print ( ( '%r: unknown name' % name ) , file = f ) return for nobj in nobj_list : show_name_object ( book , nobj , show_contents , f )
book -- book object obtained from xlrd .