全部博文(271)
发布时间:2015-06-12 16:30:12
python ImportError: DLL load failed: %1 不是有效的 Win32 应用程序报错分析:在windows上安装python mysql模块后,导入模块时报 python ImportError: DLL load failed: %1 不是有效的 Win32 应用程序这个是因为你安装了64位的python,然后安装32位的mysql模块,或者你安装了32位的py.........【阅读全文】
发布时间:2015-06-11 09:53:46
http://codeigniter.com/wiki/QUERY_STRING_GET/1、打开config.php文件,将【url_protocol】设置为PATH_INFO,将【enable_query_strings】设置为TRUEvim application/config/config.php$config['uri_protocol'] = 'PATH_INFO';$config['enable_query_strings'] = TRUE;2、在需要使用$_GET之前,添加上.........【阅读全文】
发布时间:2015-05-12 11:30:20
修改自:原文 : Working with Python subprocess - Shells, Processes, Streams, Pipes, Redirects and More地址 : http://jimmyg.org/blog/2009/working-with-python-subprocess.html 一 程序的stdin,stdout,stderr+redirect+pipe程序的stdin,stdout,stderr:通常地一个应用程序默认地.........【阅读全文】
发布时间:2015-04-25 23:29:39
主要记录下这种用法: columnsList = [column.strip() for column in columnsList]同样 采用此方式 可以做 replace 等类似的操作##在CSDN 上 看到一位企鹅同学分享的PPT《编写“高性能”python 代码》 同以上类似的list 处理 ; 这里做个记录l = range(10000)def function1(): result = [] .........【阅读全文】
发布时间:2015-04-03 11:29:22
直接在TortoiseSVN中修改过往日志,会提示:DAV request failed;it's possible that the repository's pre-revprop-change hook either failed or is non-existentAt least one property change failed; repository is unchanged.因为SVN库中的日志本身是没有进行版本管理的,为防止误操作导致原日志.........【阅读全文】