一.csv文件的读取1 #coding=utf-8 import csv with open("F:\\script\\py_scripts\\test2.csv","r") as csvfile: read = csv.reader(csvfile) for i in read: print(i) 注意:csv文件生成的时候需要另存Excel文件选择csv格式,这样不会报错. 二.xml文件的读取 #abc.xml 1 <?xml version="
XML文件在Eclipse中报校验错误: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-li