【crifan推荐】一款相对不错的文本编辑器:Sublime Text 2
crifan 12年前 (2012-11-19) 5074浏览 3评论
之前一直使用Notepad++,作为自己的文本编辑器,主要用于各种开发。 由于觉得其的确非常好用,所以专门写了文章去推荐之: 【crifan推荐】轻量级文本编辑器,Notepad最佳替代品:Notepad++ 后来,无意间,得知有个Sublime的文...
crifan 12年前 (2012-11-19) 5074浏览 3评论
之前一直使用Notepad++,作为自己的文本编辑器,主要用于各种开发。 由于觉得其的确非常好用,所以专门写了文章去推荐之: 【crifan推荐】轻量级文本编辑器,Notepad最佳替代品:Notepad++ 后来,无意间,得知有个Sublime的文...
crifan 12年前 (2012-11-19) 13297浏览 1评论
【现象】 很多Python初学者,在安装了最新版本的Python 3.x版本,比如Python 3.2之后, 去参考别人的代码(基于Python 2.x写的教程),去利用print函数,打印输出内容时,结果却遇到print函数的语法错误: Synta...
crifan 12年前 (2012-11-19) 13485浏览 5评论
首先要说的是,Python的版本,目前主要分为两大类: Python 2.x的版本的,被称为Python2:是目前用的最广泛的,比如Python 2.7.3。 Python 3.x的版本的,被称为Python3:是最新的版本的,比如Python 3....
crifan 12年前 (2012-11-19) 5098浏览 0评论
Python 2.7的手册中的官方解释为: '*' Causes the resulting RE to match 0 or more repetitions of the preceding RE, as many repetitions a...
crifan 12年前 (2012-11-19) 8462浏览 0评论
Python 2.7手册中的官方解释为: '$' Matches the end of the string or just before the newline at the end of the string, and in MULTILIN...
crifan 12年前 (2012-11-19) 5221浏览 0评论
Python 2.7的手册中的官方解释为: '.' (Dot.) In the default mode, this matches any character except a newline. If the DOTALL fl...
crifan 12年前 (2012-11-19) 4464浏览 0评论
Python 2.7的手册中的官方解释为: '^' (Caret.) Matches the start of the string, and in MULTILINE mode also matches immediately after ea...
crifan 12年前 (2012-11-19) 4868浏览 0评论
【问题】 有人遇到类似问题: python,用: rs=open(‘filename’,‘w') 打开文件后,然后写入一定量的数据,再去关闭: rs.close() sleep(5) 但是问题在于,每次写入文件的数据,是不固定的,所以,不知道slee...
crifan 12年前 (2012-11-18) 7610浏览 0评论
【问题】 写了perl代码: #!/usr/bin/perl use strict; use warnings; print "Hello, world"; $str = "I love Perl"; $s...
crifan 12年前 (2012-11-18) 2959浏览 0评论
1.从perl主页中: http://www.perl.org/get.html 找到: ActiveState Perl 然后下载64位的,得到: ActivePerl-5.16.1.1601-MSWin32-x64-296175.msi 然后安装...