加载中
curl不支持https协议问题解决

curl报错内容, 以及解决过程. c.perform() error: (1, 'Protocol https not supported or disabled in libcurl')...

Generic adapter class in Python

The adapter pattern is often used in programming when you need to adapt one interface to another. Here's a simple generic adapter class that can adapt just about any interface t...

安装lxml报错,error: command 'x86_64-linux-gnu-gcc' failed with exit status 4

安装lxml报错,error: command 'x86_64-linux-gnu-gcc' failed with exit status 4 在ubuntu14.04上直接pip安装lxml包,会报错,是因为依赖包没安装上: sudo apt-get install libxml2-dev l...

08/23 09:48
4
urllib.urlencode() 无法encode中文, UnicodeEncodeError

urllib.urlencode() 无法encode中文, UnicodeEncodeError, 具体错误内容如下: File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 1326, in ...

python UnicodeEncodeError 问题解决

解决一个问题: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)...

写python时注意使用unicode注释中文

ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters 错误出现的原因: 缺少了 unicode注释中文...

2013/12/09 12:32
1K
OpenERP7.0中日期无效的问题

转载: 在OpenERP7.0中载入中文语言后,输入某些单据,一些细化到时间的字段输入时会报错,说是日期格式不正确。 解决办法是进入【设置】-【翻译】-【语言】菜单,把时间格式中的值 %I:%M:%S...

Mac os x 下自己常用到的命令

Apache: 重启apache: sudo /usr/sbin/apachectl restart 关闭apache:sudo /usr/sbin/apachectl stop 开启apache:sudo /usr/sbin/apachectl start Vim: 1. vim跳到指定行: 1.1 在编辑模式下...

2013/07/01 17:51
44
python打印详细的异常信息

#!/usr/bin/env python #coding=utf-8 import traceback try: 1/0 except Exception, e: print e print traceback.format_exc()...

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部