码迷,mamicode.com
首页 >  
搜索关键字:python email from to    ( 191911个结果
获取数据表的结构信息
show table status 获取表的信息例子:show table status from db_name 获取指定数据库中所有表的信息show table status from db_name like 'uc%' 获取所有以UC开头的额数据表的信息在thinkPHP中的使用的例子: ....
分类:其他好文   时间:2015-09-21 13:55:24    阅读次数:133
python ftp学习
This module defines the class FTP and a few related items. The FTP class implements the client side of the FTP protocol. You can use this to write Pyt...
分类:编程语言   时间:2015-09-21 13:48:19    阅读次数:314
2015/9/20 Python基础(16):类和实例
面向对象编程编程的发展已经从简单控制流中按步的指令序列进入到更有组织的方式中,依靠代码块可以形成命名子程序和完成既定的功能。结构化的或过程性编程可以让我们把程序组织成逻辑快,以便重复或重用。创造程序的过程变得更具逻辑性;选出的行为要符合规范,才可以约束创建的数据。迪特尔父子认为结构化编程是“面向行为...
分类:编程语言   时间:2015-09-21 13:46:33    阅读次数:271
Supporting Python 3(支持python3)——2to3
2to3 Although it’s perfectly possible to just run your Python?2 code under Python?3 and fix each problem as it turns up, this quickly becomes very tedious. You need to change every print statem...
分类:编程语言   时间:2015-09-21 12:39:01    阅读次数:244
利用Dockerfile构建一个基于centos 7,包括java 8, tomcat 7,php ,mysql+mycat的镜像
Dockerfile内容如下:FROM centosMAINTAINER Victor ivictor@foxmail.comWORKDIR /rootRUN rm -f /etc/yum.repos.d/*RUN echo '[BASE]' > /etc/yum.repos.d/base.rep....
分类:数据库   时间:2015-09-21 12:21:34    阅读次数:259
2015/9/19 Python基础(15):变量作用域及生成器
变量作用域标识符的作用域是定义为其声明的可应用范围,或者即是我们所说的变量可见性。也就是,我们可以在程序的那个部分去访问一个制定的标识符。全局变量与局部变量定义在函数内的变量有局部作用域,在一个模块中最高级别的变量有全局作用域。全局变量的一个特征是除非被删除掉,否则它们将存活到脚本运行结束,且对于所...
分类:编程语言   时间:2015-09-21 12:20:05    阅读次数:190
sql中exists,not exists的用法
exists : 强调的是是否返回结果集,不要求知道返回什么, 比如: select name from student where sex = 'm' and mark exists(select 1 from grade where ...) ,只要exists引导的子句有结果集返回,那么exi...
分类:数据库   时间:2015-09-21 12:15:04    阅读次数:235
某Python群的入群题目
为了确保不被通过搜索引擎直接搜索题目搜出来,我重新描述下题目:给n, 求1~n的每个数的约数和每个约数出现的个数是 n // i个,出现x次的约数范围是[n // i, n // (i + 1)]def my_sum(n): res = 0 for i in range(1, int(n...
分类:编程语言   时间:2015-09-21 12:13:25    阅读次数:140
How to install starDIct on suse OS?
1. Access page http://code.google.com/p/stardict-3/ to download starDict package or use zypper in to install it from product repo2. Download dictionar...
分类:其他好文   时间:2015-09-21 12:06:16    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!