Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

How to compare files in two folders?

$
0
0
I'm pretty new user of ArcGIS. My intention is compare contents of the files (csv) from one folder with files in another folders . In those folders exist files with the same name but in second folder files have different endings.

First Folder:

almukantarat.csv
almukantarat1.csv

Second Folder:

almukantarat_A.csv
almukantarat1_A.csv

I don't know, maybe it can be done in Python or only in ModelBuilder (using Compare files?). Please, could You help me how script or model should look like? I have ArcGIS Desktop 10.0.
In one file could be thousands objects, in each folder could be hundred files, so from my site it isn't possible to compare it manually.Thanks a lot

Viewing all articles
Browse latest Browse all 2485

Trending Articles