Compare commits

..

No commits in common. "f43310dd4a32d5b85a2da6dc0246563701b95946" and "ebec9ed3234452be5152184e1e8106e2f55e6e49" have entirely different histories.

11
main.py
View File

@ -50,15 +50,12 @@ class MyPlugin(Star):
,charset='utf8' # 字符编码 ,charset='utf8' # 字符编码
) )
#cur = conn.cursor() #cur = conn.cursor()
time = [] time=[];V=[];a=[];b=[]
V = [1]
a = [1]
b = [1]
for i in range(0,10): for i in range(0,10):
time.append(round(random.uniform(1, 600), 2)) time.append(round(random.uniform(1, 600), 2))
#V.append(round(random.uniform(0.01,100), 2)) V.append(round(random.uniform(0.01,100), 2))
#a.append(time_long(time)) a.append(time_long(time))
#b.append(volume(V)) b.append(volume(V))
#sql = "INSERT INTO dajiao (openid, timelong, volume) VALUES (%s, %s, %s)" #sql = "INSERT INTO dajiao (openid, timelong, volume) VALUES (%s, %s, %s)"
#values = (user_name,time[i],V[i]) #values = (user_name,time[i],V[i])
#cur.execute(sql,values) #cur.execute(sql,values)