2017年7月3日

倒计时闹钟

摘要: import time,winsoundsfile='tada.wav'while 1: count=0 a=int(input('time by Min:')) b=a*60 while (count<b): ncount=b-count print (ncount) time.sleep(5) 阅读全文

posted @ 2017-07-03 15:18 e35t 阅读(120) 评论(0) 推荐(0)

2017年6月17日

bs4取数

摘要: # -*- coding: utf-8 -*-from bs4 import BeautifulSoupdef file2soup(ffile): with open(ffile,'r+b') as f: f.encoding='utf-8' soup=BeautifulSoup(f,'lxml') 阅读全文

posted @ 2017-06-17 13:46 e35t 阅读(142) 评论(0) 推荐(0)

导航