import os import time #time.sleep(18000) for i in range(1,11): tmux_cmd = f'tmux send-keys -t opp{i} "cd Downloads/palm_tree_mapping_Jan82025" Enter' os.system(tmux_cmd) time.sleep(1) tmux_cmd = f'tmux send-keys -t opp{i} "python3.7 mapping_palm_trees_Jan82025.py smaller_jsons/output_chunk_{i}.json output_chunk_{i}.geojson" Enter' os.system(tmux_cmd) # tmux_cmd = f'tmux send-keys -t up{i} "cd Downloads/uprooting_detection_code" Enter' # os.system(tmux_cmd) # time.sleep(1) # tmux_cmd = f'tmux send-keys -t up{i} "python3.7 uprooting_TCI_comp.py smaller_jsons/output_chunk_{i}.json output_chunk_{i}" Enter' # os.system(tmux_cmd)