我电脑是Win7旗舰版,之前电脑上安装的是Python2.6版本的,前两天为了体验一下Microsoft
Excel与Python之间互操作,下载并安装了DataNitro,在安装的时候脑残的安装了Python2.7.5,但是这两天在用的时候,发现之前安装的一些包后不能用了;print
sys.pa...
分类:
编程语言 时间:
2014-06-16 11:11:33
阅读次数:
684
原题地址:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/题意:Given
a sorted linked list, delete all nodes that have duplicate number...
分类:
编程语言 时间:
2014-06-16 10:40:35
阅读次数:
340
原题地址:https://oj.leetcode.com/problems/search-in-rotated-sorted-array-ii/题意:Follow
up for "Search in Rotated Sorted Array":What ifduplicatesare allowed...
分类:
编程语言 时间:
2014-06-16 08:20:54
阅读次数:
307
原地址:http://hi.baidu.com/drunkdream/item/9c9ac638dfc46ec6382ffac5实验环境:windows7+python2.6+pycrust+PIL1.1.7实验操作:Image模块例子:打开、旋转、显示一副图像>>>
import Image>>>...
分类:
编程语言 时间:
2014-06-16 07:56:05
阅读次数:
794
原题地址:https://oj.leetcode.com/problems/gray-code/题意:The
gray code is a binary numeral system where two successive values differ in only
one bit.Given a...
分类:
编程语言 时间:
2014-06-16 07:42:27
阅读次数:
242
JFinal是基于Java语言的极速Web +
ORM框架,其核心设计目标是开发迅速、代码量少、学习简单、功能强大、轻量级、易扩展、Restful。在拥有Java语言所有优势的同时再拥有Ruby、Python、PHP等动态语言的开发效率!为开发者节约更多时间,去陪恋人、家人和朋友。JFinal的主要...
分类:
其他好文 时间:
2014-06-16 06:47:48
阅读次数:
269
使用[] + for语句是解析列表而使用() +
for语句是产生生成器实例代码如下:alist = [1, 2, 3, 4, 5]another_list = [i for i in alist]print
another_lista_generator = (i for i in alist)p...
分类:
编程语言 时间:
2014-06-16 06:30:17
阅读次数:
204
tablib简介-----------Tablib is a format-agnostic
tabular dataset library, written in Python.Tablib
是一个格式未知的表格操作库,使用python编写,目前(2014-06-11)支持如下格式:Excel 、...
分类:
其他好文 时间:
2014-06-12 09:08:53
阅读次数:
190