import codecs for line in codecs.open(file, 'r', 'utf8'): arr = re.compile(r' ?= ?').split(line)
Chomp
str.rstrip()
for k, v in sorted(dic.items()): print(k + ' = ' + v.rstrip())
Recommended Posts