Seraph125

user = leancloud.User() people = pd.read_excel('text.xlsx') t = people['账号'] t1=[str(q) for q in t] for i in t1[::-1]: user.set('username', i) user.set('password','123456') t1.remove(i) user.sign_up() print("Done!") 这样写还是只能注册一个 报错The user cannot be altered by other users or with outdated session.

people = pd.read_excel('text.xlsx') t = people['学号'] t1=[str(q) for q in t] p = people['姓名'] dict_all = dict(zip(t, p)) for i in range(50): for j in t1[::-1]: i = leancloud.User() i.set('username', j) i.set('password', '123456') t1.remove(j) i.sign_up() #time.sleep(3) print(i) print("Done!") 解决了,这么写…

这个获取的时间跟正常的时间不对应

会不会是因为android.net.conn.CONNECTIVITY_CHANGE 7.0之后被取消?