【教程】详解Python正则表达式之: (?<=…) positive lookbehind assertion 后向匹配 /后向断言
crifan 12年前 (2012-11-14) 5837浏览 0评论
Python 2.7手册中的官方解释是: (?<=...) Matches if the current position in the string is preceded by a match for ... that...
在路上on the way - 走别人没走过的路,让别人有路可走
crifan 12年前 (2012-11-14) 5837浏览 0评论
Python 2.7手册中的官方解释是: (?<=...) Matches if the current position in the string is preceded by a match for ... that...
crifan 12年前 (2012-11-14) 4449浏览 0评论
1.别人已经帮忙建立好了Node.js 2.在微软的Azure上找了半天,找到了: http://www.windowsazure.com/en-us/develop/nodejs/tutorials/create-a-website-%28mac%...
crifan 12年前 (2012-11-13) 39552浏览 0评论
【问题】 Python中某个字典变量eachInfoDict,其中有个key是MapID。 之前已设置变量的值了: commonInfoDict["MapID"] = str(mapId); ... eachInfoDic = c...
crifan 12年前 (2012-11-13) 18348浏览 0评论
【问题】 想要使用Python的xlwt设置单元格的背景色。 但是不知道如何设置。 【解决过程】 1.从Working with Excel Files in Python 找到官网的:The xlwt Module,无果。 2.参考: XLWT :...
crifan 12年前 (2012-11-13) 7164浏览 1评论
【Python中解码(decode)HTML中的实体(entity)】 使用Python时,有时候会遇到需要处理HTML代码。 而HTML代码中,有时候会出现所谓的实体,英文叫做Entity。 HTML Entity,总体来说,分两类: name ...
crifan 12年前 (2012-11-12) 13222浏览 3评论
【问题】 通过Scrapy创建好了项目: E:\Dev_Root\python\Scrapy>scrapy startproject songtaste 运行项目,结果出错: E:\Dev_Root\python\Scrapy>scrap...
crifan 12年前 (2012-11-12) 23272浏览 2评论
Python 2.7的手册中的解释: (?P<name>...) Similar to regular parentheses, but the substring matched by the group is a...
crifan 12年前 (2012-11-12) 10204浏览 1评论
Python 2.7的手册中的官方解释是: (?P=name) Matches whatever text was matched by the earlier group named name. 下面就简单解释解释此含义。 1.首先,使用此...
crifan 12年前 (2012-11-12) 6141浏览 0评论
【问题】 想要模拟优酷视频播放,刷新视频播放次数。 以此为例: 视频:燕山大讲堂 中国如何走向公民社会 4-3 http://v.youku.com/v_show/id_XMjIxMjUzNjQ0.html 想要通过C#程序模拟刷新其播放次数。 【解...
crifan 12年前 (2012-11-11) 3640浏览 0评论
1.国内的版税,纸质书的,多数在6%~15%之间。 能拿到15%的,极少。 国内的多为8%-10%。 电子书的版税极低,多数可忽略不计。 2.国外的,纸质书: 平装版(Paperbacks):4%-15% 精装版(Hardcovers)...