Skip to content

Instantly share code, notes, and snippets.

View kingmo888's full-sized avatar

cococo kingmo888

View GitHub Profile
# -*- coding: utf-8 -*-
import pandas as pd
import multiprocessing
import numpy as np
import time
import os
print('main...') # 这个输出为何会打印了N次?
import pandas as pd
import multiprocessing
import numpy as np
import time
import os
print('main...') # 这个输出为何会打印了N次?
def func(f, lock, i):
sleeptime = round(np.random.rand() / 10, 4)