摘要: # Author:jum_# event 事件监测 红灯停绿灯行 线程标志位# 事件主要提供了三个方法wait、clear、set# clear:将“Flag”设置为False#set:将“Flag”设置为True# wait:等待设置标志位import threading,timeevent = 阅读全文
posted @ 2018-07-12 00:07 jum_blog 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2018-07-12 00:00 jum_blog 阅读(184) 评论(0) 推荐(0) 编辑

载入天数...载入时分秒...