Write multiple lines into file in Python

Member

lou_lindgren

by lou_lindgren , in category: Python , 2 months ago

Most efficient way to write multiple lines into file in Python 😛

1
2
3
4
5
6
7
8
file_write('\tOverall the experiment has: {0:}'.format(result4))
file_write('\n')
file_write('\t Support: {0:.4f}'.format(support1))
file_write('\n')
file_write('\t Plausibility: {0:.4f}'.format(plausibility1))
file_write('\n')
file_write('\tEI = [{0:.4f}, {1:.4f}]'.format(support1, plausibility1))
file_write('\n\n')
Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers