1:2.x与3.x区别: 2.x:老式类,都继承自object,继承机制为深度优先 3.x:新式类不需要写(object),继承机制为广度优先2:类说明: 在定义类下用"""......"""包裹 查看方法:classname.__doc__ or help(classname)3:clas...
分类:
编程语言 时间:
2015-09-20 14:40:22
阅读次数:
251
sass:watch --的所在目录应是英文路径ement:a.先安装plugin manager中的ement,它会自动帮你装Python Scriptb.卸掉Python Scriptc.去http://sourceforge.net/projects/npppythonscript/?sour...
分类:
其他好文 时间:
2015-09-20 14:39:18
阅读次数:
134
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.------------------------题是比较简单,但是解法中用了static...
分类:
其他好文 时间:
2015-09-20 14:29:30
阅读次数:
153
Question:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the fa...
分类:
其他好文 时间:
2015-09-20 14:29:30
阅读次数:
111
最近在用python搞串口工具,串口的数据流基本读写都要靠bytearray,而我们从pyqt的串口得到的数据都是string格式,那么我们就必须考虑到如何对这两种数据进行转换了,才能正确的对数据收发。先考虑的接收串口数据,那么格式是bytearray,下面需要处理成string格式来显示:#按st...
分类:
编程语言 时间:
2015-09-20 13:18:55
阅读次数:
456
BusyBox已集成命令tftp,可通过tftp上传或下载文件:Usage: tftp [OPTIONS] HOST [PORT]Transfer a file from/to tftp server -l FILE Local FILE -r FILE Remote FILE -g Get fil...
分类:
其他好文 时间:
2015-09-20 13:14:47
阅读次数:
146
Having the Result Set of a Stored Proc Sent to You by RSS Feed.by JBrooks 14. 十二月 2010 12:44I wanted to monitor one of my system from my desk top and ...
分类:
其他好文 时间:
2015-09-20 13:08:46
阅读次数:
246
http://bbs.fishc.com/thread-59816-1-1.htmlhttps://pypi.python.org/pypi/PyQt5/http://www.thehackeruniversity.com/2014/01/23/pyqt5-beginner-tutorial/htt...
分类:
其他好文 时间:
2015-09-20 11:45:05
阅读次数:
250
最近有一个文本分析的需求,因分析系统用的是Perl,而Perl下优秀的中文文本分析包又少,所以调用R处理文本数据。为什么不用Python尽管Python拥有完备的NLP开源包支持,但是理由也很简单——因为Python目前接触不多,不敢班门弄斧,Python以后再说。目前,也只是需要的是一个快速原型,...
分类:
其他好文 时间:
2015-09-20 10:33:22
阅读次数:
250
root@kali:~# 0trace.sh wlan0 www.baidu.com 800trace v0.01 PoC by [+] Waiting for traffic from target on wlan0...[+] Traffic acquired, waiting for a ga...
分类:
其他好文 时间:
2015-09-20 10:30:47
阅读次数:
193