def list_stringify(inlist):
 outlist = []
 for item in inlist:
  if (not isinstance(item, (tuple, list))):
   if (not isinstance(item, basestring)):
    item = str(item)
  else:
   item = list_stringify(item)
  outlist.append(item)
 return outlist

def list_stringify ( inlist ) : outlist = [ ] for item in inlist : if ( not isinstance ( item , ( tuple , list ) ) ) : if ( not isinstance ( item , basestring ) ) : item = str ( item ) else : item = list_stringify ( item ) outlist . append ( item ) return outlist
recursively rebuilds a list - making sure all the members are strings .