一、安装xlrd模块到python官网下载http://pypi.python.org/pypi/xlrd模块安装,前提是已经安装了python 环境。二、使用介绍 1、导入模块import xlrd 2、打开Excel文件读取数据data = xlrd.open_workbook('excelFi...
分类:
编程语言 时间:
2014-08-07 21:36:10
阅读次数:
304
.PHONY:allall:cleanmodulesinstall.PHONY:modulesmodules: $(MAKE)-C$(KERNELDIR)SUBDIRS=$(PWD)modules.PHONY:cleanclean: $(MAKE)-C$(KERNELDIR)SUBDIRS=$(PWD)clean.PHONY:installinstall: $(MAKE)-C$(KERNELDIR)SUBDIRS=$(PWD)INSTALL_MOD_DIR=$(RTKDIR)modules_install可..
分类:
其他好文 时间:
2014-08-07 19:22:51
阅读次数:
808
本文出自Svitter的blog
——踏踏实实的做事儿啊!
POJ2528
题意
The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all place...
分类:
其他好文 时间:
2014-08-07 19:16:20
阅读次数:
270
使用Cmake的add_custom_target建立自定义的Target后,必须将这个Target加入all依赖,否则生成的Makefile不会执行这个Target的内容。这样会有个问题,如果需要编译如下目录:
目录下有N个目录,这些目录下或是目录,或是文件,那么递归下去,就会有若干CMakeLists.txt,也就是说,会有若干个add_custom_target(all ...)的存在...
分类:
其他好文 时间:
2014-08-07 19:09:20
阅读次数:
243
关于COCOS2DX一些常用控件的理解,写给新手...
分类:
其他好文 时间:
2014-08-07 19:05:30
阅读次数:
283
Problem Description:
Given a collection of intervals, merge all overlapping intervals.
For example,
Given [1,3],[2,6],[8,10],[15,18],
return [1,6],[8,10],[15,18].
分析:按照要求将区间合并,首先将按照按起点排序,然后...
分类:
其他好文 时间:
2014-08-07 19:05:00
阅读次数:
193
Hello all, In this tutorial we are going to configure JAAS for jboss 7.1 and mysql for Form based authentication to be used in a web application. . We...
分类:
数据库 时间:
2014-08-07 18:53:50
阅读次数:
386
转自:http://blog.163.com/jackylau_v/blog/static/175754040201181505158356/一、用Python创建一个新文件,内容是从0到9的整数, 每个数字占一行:#python>>>f=open('f.txt','w') # r只读,w可写...
分类:
编程语言 时间:
2014-08-07 18:34:40
阅读次数:
323
看到一篇文章,关于python正则的,http://www.cnblogs.com/huxi/archive/2010/07/04/1771073.html贪婪模式与非贪婪模式:正则表达式通常用于在文本中查找匹配的字符串。Python里数量词默认是贪婪的(在少数语言里也可能是默认非贪婪),总是尝试匹...
分类:
编程语言 时间:
2014-08-07 18:24:30
阅读次数:
232