-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi
I have the code below in python
i need to convert e group of xml files stored in a particular folder
i need to change the 'my_table' with the name of the file I'am converting
is it possible?
thanks
ASCII-protocol-270.zip
ASCII-protocol-271.zip
filelist.txt
**with open(r'c:/metadati/asim/asim_metadati/filelist.txt', 'r') as fn:
for line in fn:
with open(line.rstrip(), mode='r') as file_content:
converter = sqlizer.File(file_content, sqlizer.DatabaseType.SQLServer, sqlizer.FileType.XML, r'C:\Metadati\ASIM\ASIM_Metadati\%file_content' , 'my_table')
converter.convert(wait=True)
f=(converter.download_result_file().text)
print (f)
print (file_content)**
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels