码迷,mamicode.com
首页 >  
搜索关键字:python email from to    ( 191911个结果
GDataXML之解析XML
??? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 第一部分 ?使用GDataXML写XML文件 /* ?<!-- 7.客户端请求通讯录信息 --> ?<iq type="get" from="jaywon@localhost/3a5054e5" to="local...
分类:其他好文   时间:2015-10-08 21:41:34    阅读次数:283
实验-闪回数据库
一、打开闪回数据库1、确保数据库处于归档模式,如果为非归档模式,将数据库转换成归档模式 SQL> select name,log_mode from v$database;NAME LOG_MODE --------- ------------ ORCL NOARCHIVELOG SQL> select flashback_on from v$database; FLASHBAC...
分类:数据库   时间:2015-10-08 21:39:50    阅读次数:267
Codeforces Round #324 (Div. 2)C. Marina and Vasya set
C. Marina and VasyaMarina loves strings of the same length and Vasya loves when there is a third string, different from the...
分类:其他好文   时间:2015-10-08 21:33:35    阅读次数:213
Python 2.7和3.4 requests 报 No module named ‘zlib‘
报错现象 安装了 python 的 requests 模块,使用中报错,如下 [root@payun?~]#?echo?$PYTHONPATH [root@payun?~]#? [root@payun?~]#?python27 Python?2.7.10?(default,?Oct??8?2015,?15:46:46)? ...
分类:编程语言   时间:2015-10-08 20:13:42    阅读次数:489
python 编码问题记录
1,AttributeError: ‘str‘ object has no attribute ‘decode‘,: decode????????????? encode bytes ------> str(unicode)------>bytes decode的目标要死bytes! 2,UnicodeDecodeError: ‘utf-8‘ c...
分类:编程语言   时间:2015-10-08 20:13:17    阅读次数:542
ecshop 获取某个商品的 所有订单信息 或者销量
把一下代码放到 lib_main.php/*获取有效订单信息*/function sales_goods_order($goods_id){ $sql = 'select order_id from ' . $GLOBALS['ecs']->table('order_goods').'...
分类:其他好文   时间:2015-10-08 20:02:48    阅读次数:159
io.StringIO
#! /usr/bin/python # -*-coding:'uft-8'-*-from __future__ import print_function #python2使用py3的print方法import io,sysf=io.StringIO()sys.stdout=f #重定义sy...
分类:其他好文   时间:2015-10-08 20:02:33    阅读次数:163
mysql查询区分大小写
Mysql默认查询是不分大小写的,可以在SQL语句中加入binary来区分大小写。binary不是函数,是类型转换运算符,它用来强制它后面的字符串为一个二进制字符串,可以理解为在字符串比较的时候区分大小写。SELECT * FROM t_resource_info WHERE binary RESO...
分类:数据库   时间:2015-10-08 20:01:20    阅读次数:220
CentOS6.7升级Python3.4.3
1、检查现有python版本 [root@xu ?~]# python -V Python 2.6.6 [root@xu ?~]#? 2、下载Python3.4.3 下载并上传到tmp目录 [root@xu ?tmp]# ls Python-3.4.3.tgz ?yum.log [root@xu ?tmp]#? 3、创建Python安...
分类:编程语言   时间:2015-10-08 18:38:14    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!