python
文章平均质量分 58
Rauber_Hotzenplotz
这个作者很懒,什么都没留下…
展开
-
Code a network packet sniffer in python for Linux
http://www.binarytides.com/python-packet-sniffer-code-linux/Basic SnifferSniffers are programs that can capture/sniff/detect network traffic packet by packet and analyse them for various r转载 2014-01-24 02:49:34 · 2356 阅读 · 0 评论 -
socket.error: [Errno 48] Address already in use
http://stackoverflow.com/questions/19071512/socket-error-errno-48-address-already-in-use$ ps -fA | grep python 501 81651 12648 0 9:53PM ttys000 0:00.16 python -m SimpleHTTPServer转载 2014-02-12 12:46:40 · 2141 阅读 · 0 评论 -
python中的try/except/else/finally语句
http://www.cnblogs.com/windlazio/archive/2013/01/24/2874417.html与其他语言相同,在python中,try/except语句主要是用于处理程序正常执行过程中出现的一些异常情况,如语法错误(python作为脚本语言没有编译的环节,在执行过程中对语法进行检测,出错后发出异常消息)、数据除零错误、从未定义的变量上取值等;而转载 2014-02-13 04:50:46 · 1451 阅读 · 0 评论