上一页 1 ··· 161 162 163 164 165 166 167 168 169 ··· 307 下一页
摘要: 1 复制大量代码到xshell上执行是不可靠的 比如复制大量执行删除操作的代码,会导致删除失败,甚至会错误地进行删除。 2 注册码 Xshell 5 注册码: 690313-111999-999313 Xftp 5 注册码:101210-450789-147200 Xmanager 5 注册码:10 阅读全文
posted @ 2015-04-18 22:28 emanlee 阅读(405) 评论(0) 推荐(0) 编辑
摘要: The font AdobePiStd is missing. Affected text will be displayed using a substitute font.缺少字体 AdobePiStd。将使用替换字体显示受影响的文本。. I solved this by copying the... 阅读全文
posted @ 2015-04-18 19:46 emanlee 阅读(1206) 评论(0) 推荐(0) 编辑
摘要: Python逐行读取文件内容thefile= open("foo.txt") line = thefile.readline() while line: print line, line = thefile.readline() thefile.close()Windows下文件路径的写法:E:/c 阅读全文
posted @ 2015-04-18 19:45 emanlee 阅读(6080) 评论(0) 推荐(0) 编辑
摘要: Merging Data Adding Columns To merge two data frames (datasets) horizontally, use the merge function. In most cases, you join two data frames by one o 阅读全文
posted @ 2015-04-17 20:29 emanlee 阅读(13857) 评论(0) 推荐(0) 编辑
摘要: 删除文件第一行:sed -i '1d' filename删除文件最后一列:awk '{print $NF}' filename比较文件的方法:1)comm -3 --nocheck-order file1 file22) grep -v -f file1 file2: 输出file2中有file1中... 阅读全文
posted @ 2015-04-13 09:39 emanlee 阅读(27586) 评论(0) 推荐(0) 编辑
摘要: 头文件:#include fopen()是一个常用的函数,用来以指定的方式打开文件,其原型为: FILE * fopen(const char * path, const char * mode);【参数】path为包含了路径的文件名,mode为文件打开方式。mode有以下几种方式: 打开方... 阅读全文
posted @ 2015-04-11 18:25 emanlee 阅读(57747) 评论(0) 推荐(0) 编辑
摘要: 所有日期、时间的api都在datetime模块内。 简单示例如下: ## %Y年,%m月,%d日,%H时,%M分,%S秒,%f毫秒 import datetime print(datetime.datetime.now()) # 2022-01-28 11:09:01.529864 print(da 阅读全文
posted @ 2015-04-07 19:16 emanlee 阅读(92541) 评论(2) 推荐(4) 编辑
摘要: no display name and no $DISPLAY environment variable============================@Neil's answer is one (perfectly valid!) way of doing it, but you can ... 阅读全文
posted @ 2015-04-01 16:46 emanlee 阅读(54068) 评论(3) 推荐(0) 编辑
摘要: 系统环境:OS:RedHat5Python版本:Python2.7.3gcc版本:4.1.2各个安装包版本:scipy-0.11.0numpy-1.6.2nose-1.2.1lapack-3.4.2atlas-3.10.0依赖关系:scipy的安装需要依赖于numpy、lapack、atlas(后两... 阅读全文
posted @ 2015-03-31 21:25 emanlee 阅读(1233) 评论(0) 推荐(0) 编辑
摘要: The C++ executable module examples This page provides usage examples for the executable module. Extended documentation for all of the options can be f 阅读全文
posted @ 2015-03-31 21:09 emanlee 阅读(13208) 评论(0) 推荐(0) 编辑
上一页 1 ··· 161 162 163 164 165 166 167 168 169 ··· 307 下一页