Python 获取Google+特定用户最新动态...
分类:
编程语言 时间:
2014-09-04 08:28:08
阅读次数:
281
分享一个Python Tkinter基础控件用法的入门例子,包括窗口的显示、显示内置图片、弹出窗口、菜单等.例子,Python Tkinter基础控件的用法# -*- coding: utf-8 -*-from Tkinter import *def btn_click():b2['text'] =...
分类:
编程语言 时间:
2014-09-04 06:18:57
阅读次数:
395
re模块提供了一个郑则表达式的引擎接口,可以让你的Restring变异成对象并用它来进行匹配,这样效率比较高。附上例子让我们一块体验一下吧。以下是我写的类似与爬虫的小脚本,供大家参考#!/usr/bin/python#coding=utf-8importurllibimportreimportosdefgetHtmlData():returnurll..
分类:
编程语言 时间:
2014-09-04 03:05:28
阅读次数:
173
一、需求一个代码片段管理工具所需要的基本功能大概包括:支持多语言的高亮能够保存对代码的说明支持TAG标签有方便的查询功能而Emacs的Org-mode恰好能够完美的支持上面这些需求.二、实现(defvarmode-file-map‘((c++-mode."cpp.org")
(emacs-lisp-mode."elisp.org")
(python-mode..
分类:
其他好文 时间:
2014-09-04 02:58:48
阅读次数:
231
1 import types 2 3 aaa = 0 4 print type(aaa) 5 if type(aaa) is types.IntType: 6 print "the type of aaa is int" 7 if isinstance(aaa,int): 8 p...
分类:
编程语言 时间:
2014-09-04 01:33:27
阅读次数:
235
#虚拟网络拓扑json数据 def topodata #@vnic = Vnic.all #flash.now[:notice] = 'Message sent!' #flash.now[:alert] = 'Message sent!' @vnic = { nodes: [{ name...
分类:
Web程序 时间:
2014-09-04 01:32:07
阅读次数:
240
6 RPC
Remote procedure call implementation
Python | Java | Ruby | PHP| C#
转载请注明出处:jiq?钦's technical Blog
Remote procedure call (RPC)
(using the .NET client)
在第二个教程second tutorial 中...
分类:
Web程序 时间:
2014-09-04 00:16:57
阅读次数:
370
Python中的网络扫描大杀器Scapy初探最近经历了Twisted的打击,这个网络编程实在看不懂,都摸不透它的内在逻辑,看来网络编程不是那么好弄的。还好,看到了scapy,这种网络的大杀器,让我一看就爱不释手,这才是我需要的网络工具啊。Scapy的功能如此之多,以至于。。。我到现在还是没看懂。在官...
分类:
编程语言 时间:
2014-09-03 23:55:47
阅读次数:
243