joshhooker
2/22/2017 - 10:42 PM

Python Write to File Line by Line

Python Write to File Line by Line

f = open('myfile','w')
f.write('%s %s\n' % (var1,var2))
f.close()