07 2018 档案
摘要:1 --登录mysql 2 mysql -uroot -p 3 4 --查看所有库 5 show databases; 6 7 -- 创建数据库 8 -- 不指定编码,默认为拉丁 9 create database `test` charset=utf8; 10 11 -- 查看创建数据库过程 12 show create database `te...
阅读全文
摘要:# Author:jum_# event 事件监测 红灯停绿灯行 线程标志位# 事件主要提供了三个方法wait、clear、set# clear:将“Flag”设置为False#set:将“Flag”设置为True# wait:等待设置标志位import threading,timeevent =
阅读全文
摘要:import randomflag = 1try_=0while (flag): try_ +=1 yan = "" for i in range(0,4): cun=random.randrange(1,4) if cun==i: tmp=chr(random.randint(65,90)) el
阅读全文