def splitstrip(string, sep=','):
 return [word.strip() for word in string.split(sep) if word.strip()]

def splitstrip ( string , sep = ',' ) : return [ word . strip ( ) for word in string . split ( sep ) if word . strip ( ) ]
return a list of stripped string by splitting the string given as argument on sep .