摘要:
f = file('test.txt' , 'r')all_data = f.read() # 字符串类型f.read(8) #读取固定大小的内容line_data = f.readline() # 字符串类型list_li... 阅读全文
posted @ 2015-04-22 16:18
LarryKnight
阅读(355)
评论(0)
推荐(0)
摘要:
import threadingimport sys , osfrom time import ctime , sleepclass MyThread(threading.Thread): def __init__(self, func , args , name=''): threadin... 阅读全文
posted @ 2015-04-22 15:03
LarryKnight
阅读(191)
评论(0)
推荐(0)