-
-
Save oro2714/284a38b2e89c2dc1947dc68158857031 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import os | |
from joblib import Parallel, delayed | |
def t(v): | |
os.system("python3 mona_researcher.py " + v) | |
def sc(i,addr): | |
while i<=4036: | |
print("\n") | |
print("\n") | |
print(i) | |
print("\n") | |
print("\n") | |
t(addr[i]) | |
i+=10 | |
data=[] | |
with open("./addres_num.csv","r") as f: | |
reader = csv.reader(f) | |
for row in reader: | |
data.append(row) | |
addr=[g[1] for g in data] | |
Parallel(n_jobs=10)([delayed(sc)(i,addr) for i in range(10)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment