本节内容 1.列表,元组,字典 【列表】 1.定义列表 2.通过下标访问列表中的元素,下标从0开始计数 切片:取多个元素 1 >>> names = ["Alex","Tenglan","Eric","Rain","Tom","Amy"] 2 >>> names[1:4] #取下标1至下标4之间的数 ...
分类:
数据库 时间:
2017-01-19 04:48:15
阅读次数:
264
转载自: http://www.cnblogs.com/lhyun/p/3448740.html Instance Public methods attribute_method?(attribute)Link Returns true if attribute is an attribute me ...
分类:
其他好文 时间:
2017-01-17 21:41:05
阅读次数:
161
1.列表 1 names = ['Alex',"Tenglan",'Eric'] 2 3 >>> names[0] 4 'Alex' 5 >>> names[2] 6 'Eric' 7 >>> names[-1] 8 'Eric' 9 >>> names[-2] #还可以倒着取 10 'Tengla ...
分类:
编程语言 时间:
2017-01-16 22:30:04
阅读次数:
385
本文转自: http://mp.weixin.qq.com/s?__biz=MzA3MzI4MjgzMw==&mid=2650722318&idx=4&sn=728e8e264ca05f2366d75a27744bb383&chksm=871b1470b06c9d669f9a077f0b41502d ...
分类:
其他好文 时间:
2017-01-15 15:59:30
阅读次数:
317
上一篇那些年困扰我们的委托(C#)讲了委托,这一篇自然就轮到事件了。 不喜欢官方的表达方式,喜欢按照自己的想法去理解一些抽象的东西,我是一个喜欢简单怕麻烦的人。 事件 考虑到委托使用的一些缺陷,就有了事件。委托是不安全的,打个比方,如果把委托当作共有字段,那么事件就相当于是属性的概念。 事件就是被限 ...
How To Ask Questions The Smart Way Eric Steven Raymond Thyrsus Enterprises <esr@thyrsus.com> Rick Moen <respond-auto@linuxmafia.com> Copyright © 2001, ...
分类:
其他好文 时间:
2017-01-14 00:05:19
阅读次数:
239
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main... ...
DATA: it_po LIKE it_alv OCCURS 0 WITH HEADER LINE.********************************************************************************************TSTC SAP ...
分类:
其他好文 时间:
2017-01-12 09:14:06
阅读次数:
835
/** * @Title: StringUtils.java * @Package cn.com.qmhd.tools * @Description: TODO: * @author eric * @date 2014-11-17下午12:37:28 * @version V1.0 */ packa... ...
分类:
编程语言 时间:
2017-01-09 14:28:27
阅读次数:
196