import os
import sys

os.chdir('C:\\gitlab\\kw_tools\\kw_tools\\hhh')
for i in range(30):
    os.system('python gspace_fetch_ranks.py')