Commit 6f3fc7f6 by BellCodeEditor

save project

parent 429568cf
Showing with 5 additions and 4 deletions
t=open(r'c:\Users\Administrator\Desktop\test.txt,"r",encoding='utf-8')
t.readlines()
t.close()
\ No newline at end of file
with open(r'C:\Users\Administrator\Desktop\test.txt','r',encoding="utf-8") as t:
a=t.readlines()
#print(a)
for i in a :
print(i)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment