会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DoDo
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
···
30
31
32
33
34
35
36
37
38
···
136
下一页
2012年10月24日
EditPlus for python
EditPlus是我常用的文件编辑器之一,用它来下脚本程序甚是方便,下面来看看如果配置吧: 1.先到www.editplus.com上下载editplus.exe,一步一步安装就好了,只有30天的试用期。 2.来配置python环境,到www.editplus.com 上下载python配置环境...
Read More
posted @ 2012-10-24 10:38 adodo1
Views(139)
Comments(0)
Diggs(0)
2012年10月23日
Python 字符串操作(string替换、删除、截取、复制、连接、比较、查找、包含、大小写转换、分割等)
http://www.cnblogs.com/huangcong/archive/2011/08/29/2158268.html s.strip() .lstrip() .rstrip(',') 去空格及特殊符号复制字符串Python1 #strcpy(sStr1,sStr2)2 sStr...
Read More
posted @ 2012-10-23 16:58 adodo1
Views(143)
Comments(0)
Diggs(0)
Python 字符串操作(string替换、删除、截取、复制、连接、比较、查找、包含、大小写转换、分割等)
http://www.cnblogs.com/huangcong/archive/2011/08/29/2158268.html s.strip() .lstrip() .rstrip(',') 去空格及特殊符号复制字符串Python1 #strcpy(sStr1,sStr2)2 sStr...
Read More
posted @ 2012-10-23 16:58 adodo1
Views(113)
Comments(0)
Diggs(0)
CentOS 5升级Python版本(2.4>2.7)
日前在CentOS上搭建测试环境时候,遇到需要升级python版本的情况,于是就记录了整个升级的过程: 在CentOS5中自带的Python版本是2.4,但是目前许多基于Python的应用软件要求的Python版本应要高于2.4。升级 python版本的时候千万不能卸载python 2.4,再安装...
Read More
posted @ 2012-10-23 09:42 adodo1
Views(141)
Comments(0)
Diggs(0)
CentOS 5升级Python版本(2.4>2.7)
日前在CentOS上搭建测试环境时候,遇到需要升级python版本的情况,于是就记录了整个升级的过程: 在CentOS5中自带的Python版本是2.4,但是目前许多基于Python的应用软件要求的Python版本应要高于2.4。升级 python版本的时候千万不能卸载python 2.4,再安装...
Read More
posted @ 2012-10-23 09:42 adodo1
Views(196)
Comments(0)
Diggs(0)
2012年10月22日
解决Python2.7的UnicodeEncodeError: ‘ascii’ codec can’t encode异常错误
http://wangye.org/blog/archives/629/ 今天准备将某SQLite数据库的内容导出到文本文档(*.txt)中,设计的Python程序如下: # -*- coding: UTF-8 -*-import sqlite3 def gsel(cur): cur....
Read More
posted @ 2012-10-22 23:30 adodo1
Views(151)
Comments(0)
Diggs(0)
解决Python2.7的UnicodeEncodeError: ‘ascii’ codec can’t encode异常错误
http://wangye.org/blog/archives/629/ 今天准备将某SQLite数据库的内容导出到文本文档(*.txt)中,设计的Python程序如下: # -*- coding: UTF-8 -*-import sqlite3 def gsel(cur): cur....
Read More
posted @ 2012-10-22 23:30 adodo1
Views(177)
Comments(0)
Diggs(0)
vim格式化python代码
1)下载格式化工具 http://lacusveris.com/PythonTidy/index.shtml http://lacusveris.com/PythonTidy/PythonTidy-1.23.python 改名为pyformat.py并赋予可执行权限 2)...
Read More
posted @ 2012-10-22 12:24 adodo1
Views(714)
Comments(0)
Diggs(0)
vim格式化python代码
1)下载格式化工具 http://lacusveris.com/PythonTidy/index.shtml http://lacusveris.com/PythonTidy/PythonTidy-1.23.python 改名为pyformat.py并赋予可执行权限 2)...
Read More
posted @ 2012-10-22 12:24 adodo1
Views(172)
Comments(0)
Diggs(0)
2012年10月17日
Linux的bg和fg命令
我们都知道,在 Windows 上面,我们要么让一个程序作为服务在后台一直运行,要么停止这个服务。而不能让程序在前台后台之间切换。而 Linux 提供了 fg 和 bg 命令,让我们轻松调度正在运行的任务。 假设你发现前台运行的一个程序需要很长的时间,但是需要干其他的事情,你就可以用 Ctrl-Z...
Read More
posted @ 2012-10-17 12:19 adodo1
Views(143)
Comments(0)
Diggs(0)
上一页
1
···
30
31
32
33
34
35
36
37
38
···
136
下一页
公告