![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
xxxander
欢迎大家访问快拾网,让我们一起努力 。www.kuaishi.net
展开
-
一句话建立SMTP测试服务器
python -m smtpd -n -c DebuggingServer 0.0.0.0:25from:http://initiative.yo2.cn/archives/636736原创 2009-09-06 17:33:59 · 416 阅读 · 0 评论 -
http://wwwsearch.sourceforge.net/ClientCookie/
http://wwwsearch.sourceforge.net/ClientCookie/原创 2009-09-06 21:23:46 · 1799 阅读 · 0 评论 -
django + MySQL + flup + Nginx 的一些相关配置文件的备份
备份是一种安全策略很大的一个问题是编码问题,全部utf-81.首先是/etc/mysql/my.cnf: ## The MySQL database server configuration file.## You can copy this to one of:# - "/etc/mysql/my.cnf" to set global options,# - ...原创 2009-09-09 15:22:27 · 127 阅读 · 0 评论 -
Python字符串的encode与decode
首先要搞清楚,字符串在Python内部的表示是unicode编码.因此,在做编码转换时,通常需要以unicode作为中间编码,即先将其他编码的字符串解码(decode)成unicode,再从unicode编码(encode)成另一种编码。decode的作用是将其他编码的字符串转换成unicode编码,如str1.decode('gb2312'),表示将gb2312编码的字符...原创 2009-09-10 10:09:25 · 263 阅读 · 0 评论 -
python 编码转换
http://www.pythonclub.org/python-basic/codec原创 2009-09-10 13:22:16 · 187 阅读 · 0 评论 -
解决了一个wsgi非常棘手的问题
Hi,It is needed by the COM infrastructure. When you don't use threads thisfunction call is needed too, but it is done by Python automatically.In a new thread before any COM call you have to call...2009-09-11 01:45:18 · 199 阅读 · 0 评论