line = re.sub("[ ]*;.*", '', line) # remove everything after ;
line = line.strip() #send only the bare necessity.
if len(line) > 0:
line = re.sub("[ ]*;.*", '', line) # remove everything after ;
line = line.strip() #send only the bare necessity.
if len(line) > 0: