码迷,mamicode.com
首页 >  
搜索关键字:python email from to    ( 191911个结果
Oracle PLSQL Demo - 22.查看字符串的长度[lengthb, length],判断字符串是否包含中文
--Count the length of stringselect lengthb('select * from scott.emp') as countted_by_byte, length('select * from scott.emp') as countted_by_char from ...
分类:数据库   时间:2015-06-30 00:00:51    阅读次数:507
关于Python的super用法
Python中对象方法的定义很怪异,第一个参数一般都命名为self(相当于其它语言的this),用于传递对象本身,而在调用的时候则不必显式传递,系统会自动传递。举一个很常见的例子:>>> class Foo:def bar(self, message):print(message)>>> Foo()...
分类:编程语言   时间:2015-06-29 23:50:23    阅读次数:239
Oracle PLSQL Demo - 10.For Loop遍历游标[FOR LOOP CURSOR]
declare cursor cur_emp is select t.* from scott.emp t;begin for r_emp in cur_emp loop dbms_output.put_line(r_emp.empno ...
分类:数据库   时间:2015-06-29 23:48:20    阅读次数:179
Oracle PLSQL Demo - 02.SELECT INTO单行赋值[SELECT INTO variables]
declare v_sal number;begin select t.sal into v_sal from scott.emp t where rownum <= 1; dbms_output.put_line(v_sal);end;
分类:数据库   时间:2015-06-29 23:48:05    阅读次数:239
Oracle PLSQL Demo - 08.定义显式游标[Define CURSOR, Open, Fetch, Close CURSOR]
declare v_empno scott.emp.empno%type; v_sal scott.emp.sal%type; cursor cur_emp is select t.empno, t.sal from scott.emp t;begin op...
分类:数据库   时间:2015-06-29 23:47:12    阅读次数:153
Oracle PLSQL Demo - 09.Open、Fetch遍历游标[Open, Fetch, Close Record CURSOR]
declare r_emp scott.emp%rowtype; cursor cur_emp is select t.* from scott.emp t;begin open cur_emp; loop fetch cur_emp ...
分类:数据库   时间:2015-06-29 23:42:44    阅读次数:174
Raspberry Pi --操作LED
最简单的一个树莓派GPIO操作入门,这里记录以下先上连接图:卧槽。图真特么的大用到了GPIO的GND和#18针脚,这就不上图了,红色的线接的是18针脚,暗色的线接的是GND针脚,下面上Python的代码: 1 #coding:utf-8 2 import GPi.GPIO as GPIO 3 imp...
分类:Web程序   时间:2015-06-29 23:40:47    阅读次数:290
Oracle PLSQL Demo - 13.游标的各种属性[Found NotFound ISOpen RowCount CURSOR]
declare r_emp scott.emp%rowtype; cursor cur_emp is select t.* from scott.emp t;begin open cur_emp; if cur_emp%isopen then db...
分类:数据库   时间:2015-06-29 23:36:21    阅读次数:172
python学习日记-hello,world!
写这篇日志的目的,只是记录一下学习Python的一些问题,收获。今天,也是新入职第一天,也记录下日常生活的点滴。看看我能坚持多久吧。 早上,起床,洗漱,急忙赶往公司,结果还是迟到了,但是老板不在,然后就是装机,装机的过程中知道了公司早上上班时间很灵活,从8点半到9点半都可以,只是影响你下班的时间,心...
分类:编程语言   时间:2015-06-29 23:32:31    阅读次数:139
用python作个简单文件拷贝操作
http://blog.csdn.net/jeffreynicole/article/details/8271097
分类:编程语言   时间:2015-06-29 22:24:53    阅读次数:116
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!