E
elfenliedtopfan2
Guest
ok i have 2 text files and they are diffent formats one is all on one line and one is in brakets examples below
file 1 << the one that is the template one i want to match the other 2
template
the file i want to compare againt ( so check the file above for all text to the left side if there is a match in the file below add the key and value to list key value pair )
file 2
File to compare
so in the program i can add the value of the pair to template above im going to add to my program so as example
i know both file contain DisplayName blahblah so when it finds that those 2 files share the name be something like this
"displayName" "Nrg"
say i name the list key value pair
elfenlist so would want something like this
displayName = elfenlied[displayName];
but not sure how to check files and get all occorences of the same names in both files
Continue reading...
file 1 << the one that is the template one i want to match the other 2
template
the file i want to compare againt ( so check the file above for all text to the left side if there is a match in the file below add the key and value to list key value pair )
file 2
File to compare
so in the program i can add the value of the pair to template above im going to add to my program so as example
i know both file contain DisplayName blahblah so when it finds that those 2 files share the name be something like this
"displayName" "Nrg"
say i name the list key value pair
elfenlist so would want something like this
displayName = elfenlied[displayName];
but not sure how to check files and get all occorences of the same names in both files
Continue reading...