摘要: python code: 1 import time,urllib 2 fid=open('Friedrich Nietzsche Classic Words.txt','w') 3 #1st 4 ss='http://www.brainyquote.com/quotes/authors/f/fri... 阅读全文
posted @ 2014-05-27 01:26 voh99800 阅读(276) 评论(0) 推荐(0) 编辑
摘要: code: 1 import serial,time,itertools 2 3 try: 4 ser=serial.Serial(2,115200,timeout=0) 5 except: 6 print 'Open COM2 Failed!!' 7 8 9... 阅读全文
posted @ 2014-05-27 01:21 voh99800 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 参考http://www.cnblogs.com/java06/archive/2012/10/16/3122428.html1,顺序栈定义栈:1 #define stacksize 1000; 2 typedef int datatype;3 4 struct seqstack5 {6 ... 阅读全文
posted @ 2014-05-27 01:16 voh99800 阅读(147) 评论(0) 推荐(0) 编辑