romach
4/12/2017 - 4:10 PM

Read file

Read file

with open('data.txt', 'r') as myfile:
    data=myfile.read().replace('\n', '')