"python写文件"
try:
    with open('123.txt','r') as data:
        print('It is ..',file=data)
except IOError as err:
    print('File error:'+str(err))
"python读文件"
try:
    with open('123.txt','r') as data:
        ...			
		6-01 3,004 views
					
				
"python写文件"
try:
    with open('123.txt','r') as data:
        print('It is ..',file=data)
except IOError as err:
    print('File ...			
		