`
-+lizzy+-
  • 浏览: 19045 次
  • 性别: Icon_minigender_2
  • 来自: 北京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
http://woodpecker.org.cn/diveintopython/toc/index.html
转发:http://www.cnblogs.com/smiler/archive/2010/08/02/1790132.html python中函数参数的传递是通过赋值来传递的。函数参数的使用又有俩个方面值得注意:1.函数参数是如何定义的 2.在调用函数的过程中参数是如何被解析 先看第一个问题,在python中函数参数的定义主要有四种方式: 1.F(arg1,arg2,...) 这 是最常见的定义方式,一个函数可以定义任意个参数,每个参数间用逗号分割,用这种方式定义的函数在调用的的时候也必须在函数名后的小括号里提供个数相等的 值(实际参数),而且顺序必须相同,也就是说在这种调用方式中,形参和实 ...
Python中的列表(list)类似于C#中的可变数组(ArrayList),用于顺序存储结构。 创建列表 sample_list = ['a',1,('a','b')] Python 列表操作 sample_list = ['a','b',0,1,3] 得到列表中的某一个值 value_start = sample_list[0] end_value = sample_list[-1] 删除列表的 ...
window.print() web打印 web部分打印 2009-06-12 15:21 方法一、 window.print() 实际上,是浏览器打印功能菜单的一种程序调用。与点击打印功能菜单一样,不能精确分页,不能设置纸型,套打的问题更加无从谈起,只不过,可以让用户不用去点菜单,直接点击网页中的一个按钮,或一个链接里面调用罢了。事实上,很多用户都是采用这种方式打印,但是这种方式最致命的缺点是不能设置打印参数,比如纸型,页边距,选择打印机等等。 需要指出的是这种方法提供一个打印前和打印后的事件onbeforeprint、onafterprint。可以在打印前的时候重新编辑一些格式,专门送 ...
Description: Import Iterface from zope.interface module with python interpreter through command line. ImportError: No module named zope.interface Caused by: Not set environment path Solution: Run setenv.bat in the directory of INSTANCE_HOME\bin Note: %~pd1 only expand to driver name and path, see hel ...
Oracle 自定义TYPE 的几种用法 Oracle中的类型有很多种,主要可以分为以下几类: 1、字符串类型。如:char、nchar、varchar2、nvarchar2。 2、数值类型。如:int、number(p,s)、integer、smallint。 3、日期类型。如:date、interval、timestamp。 4、PL ...
一 李肇星32年前一封批评信:嘲讽滥用职权铁路局长 2010年07月12日 10:14新华网【大 中 小】 【打印】 共有评论120条 有“铁嘴钢牙”之称的“个性部长”李肇星,32年前在《人民日报》发表了一封《笑不出声的笑剧》的批评信,对滥用职权的铁路局长和唯权力是瞻的列车长进行了无情的嘲讽和鞭挞。 这封刊在1978年12月3日《战地》栏目的信,饶有戏剧冲突,不是小品胜似小品——时任外交部新闻司科员的李肇星和一同事,陪同12位外宾登上成都驶往重庆的列车。尽管14人人手一张软卧票,但车上只给8个铺位。于是,李肇星到餐车找列车长投诉,但他“眼都不屑一眨”地说:“一张多余的卧铺也没有。”就在这时, ...
请问:IBM ISSC和深圳日立环球存储 哪个好一点? 有人能介绍下他们的待遇,发展方向和项目情况么?谢谢了。
查询表的字段名称,类型,长度,是否为空,备注 select col.table_name, col.column_id, col.column_name, col.data_type, col.data_length, col.nullable, comm.comments from user_tab_cols col LEFT JOIN user_col_comments comm on col.table_name = comm.table_name and col.column_name = comm.column_name where col.table_name = 'TEST' ; ...
Hero   There's a hero if you look inside your heart. You don't have to be afraid of what you are. There's a an answer if you reach into your soul. And the sorrow that you know will melt away. And when a hero comes along with the strength to carry on. And you cast your fears aside. And yo ...
I am a piece of cloud projecting onto your heart Do not be surprised nor be glad It will soon disappear   We meet in the dark sea You have your own way and so do I No matter whether you will remember or you will forget the brightness inspired by encounter
java.lang.ClassLoader A class loader is an object that is responsible for loading classes. The class ClassLoader is an abstract class. Given the binary name of a class, a class loader should attempt to locate or generate data that constitutes a definition for the class. A typical strategy is to tran ...
RMI: Java Remote Method Invocation RMI is the Java language's native way to communicate between distributed objects, such as two different objects running on different machines. It has some interestiong features not available in RMI-IIOP, such as distributed garbage collection, object activation, an ...
Joins  ---------------------------------extracted form ref   Equijoins:  Combines rows that have equivalent values for the specified columns.   Self Joins: A join of a table to itself.   Cartesian Products: If no join condition, returns Cartesian product. Combines each row of one table with ea ...
修改后的方法 写道 function jsRiskKeyDown(field, maxlimit, format){       if ( !jsNull(format) )    {        if ( jsHangul(field) )    event.returnValue = false;    }    if(event.keyCode==110 || event.keyCode==190 || event.keyCode==46)    {        if ( field. ...
Global site tag (gtag.js) - Google Analytics