05 2024 档案
摘要:安卓10以下存储: 1 /** 2 * 子线程中处理拷贝数据,耗时操作 3 */ 4 private Thread thread = new Thread(new Runnable() { 5 @Override 6 public void run() { 7 boolean isSDPresent
阅读全文
摘要:1 import sqlite3 2 3 start_row = 0 4 end_row = 10000 5 conn = sqlite3.connect('ball.db') 6 cur = conn.cursor() 7 with open('demo.txt', 'r', encoding='
阅读全文
摘要:1 import random 2 import sqlite3 3 4 5 def draw_double_color_ball(): 6 # 红球编号列表 7 red_balls = list(range(1, 34)) # 编号从1到33 8 # 蓝球编号列表 9 blue_balls = l
阅读全文