我使用python创建了一个XML文件.但XML声明只有版本信息.如何使用XML声明包含编码,如:
<?xml version="1.0" encoding="UTF-8"?>
python xml encoding declaration
我的要求是使用python脚本在目录中搜索jpeg图像文件并列出文件名.任何人都可以帮助我如何识别jpeg图像文件.
提前致谢...
python search file
python ×2
declaration ×1
encoding ×1
file ×1
search ×1
xml ×1