stadtwerke/scripts/prepare_batch6.py

17 lines
499 B
Python

import json
def get_batch6():
with open('cologne_duesseldorf_data/duesseldorf_targets.json', 'r', encoding='utf-8') as f:
targets = json.load(f)
# We have already processed ~34 targets (indices 0-33)
# Let's take 34-64
batch6 = targets[34:64]
print(f"Preparing {len(batch6)} targets for Batch 6:")
for t in batch6:
print(f"Search: {t['innung']} {t['person']} Kontakt Email")
if __name__ == "__main__":
get_batch6()