-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompXml.py
More file actions
17 lines (16 loc) · 751 Bytes
/
Copy pathcompXml.py
File metadata and controls
17 lines (16 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python3.6
# -*- coding: utf-8 -*-
from fileXml import FileXml
fileXmlTemplateNpsl = 'C:\\Users\\deborah.powers\\Desktop\\pcn flux 06-26\\pcn $infos npsl A-6-$numero flux.xml'
fileXmlTemplateLega = 'C:\\Users\\deborah.powers\\Desktop\\pcn flux 06-26\\pcn $infos lega A-6-$numero flux.xml'
"""
A-6-EXUS60XX . inté npsl 30 10:14 ok tuteur
A-6-E85JGKEE . inté lega 30 11:51 ok tuteur particulier
"""
fileNpslName = fileXmlTemplateNpsl.replace ('$infos', "tuteur enfants").replace ('$numero', 'EXUS60XX')
fileLegaName = fileXmlTemplateLega.replace ('$infos', "tuteur sas enfants").replace ('$numero', 'JIT7H6XX')
fileNpsl = FileXml (fileNpslName)
fileLega = FileXml (fileLegaName)
fileNpsl.read()
fileLega.read()
fileNpsl.comparer (fileLega)