Solve Problems by Coding Solutions - A Complete solution for python programming
Blog Pages
▼
Writing and reading string from a file
f=open('myfile.txt','w') f.write('\n Image Processing Research Group \n www.iprg.co.in \n') f.close() f=open('myfile.txt','r') text=f.read() print text
No comments:
Post a Comment