11 lines
272 B
Python
11 lines
272 B
Python
import os
|
|
|
|
lines = open('ids2', 'r').readlines()
|
|
|
|
tot_count = len(lines)
|
|
work_count = 0
|
|
for line in lines:
|
|
work_count = work_count + 1
|
|
print(str(work_count) + ' of ' + str(tot_count))
|
|
exe = '~/bin/ismImportBuildings -r ' + line.split(',')[0]
|
|
os.system(exe) |