1、python作用域对于变量的作用域,只要在内存中存在,就可以使用,如name变量在下面的代码中就可以使用。>>> if 1 == 1:... name = "QQ"... >>> print nameQQ2、三元运算>>> name = "QQ" if 1==1 else 'haha'>...
分类:
其他好文 时间:
2015-12-21 09:19:48
阅读次数:
259
坚持学习英语,OMG口语非常长不错,坚持每天整理.学英语坚持最重要,学英语坚持最重要,学英语坚持最重要说三遍! dog,doggie不像冬天My family has a dog named Jake My little cousin Nina calls him "doggie" and cha....
分类:
其他好文 时间:
2015-12-21 09:18:59
阅读次数:
148
http://my.oschina.net/noahxiao/blog/101558http://www.cnblogs.com/softidea/p/4982657.htmlhttp://blog.csdn.net/fw0124/article/details/6672522http://www....
分类:
其他好文 时间:
2015-12-21 09:17:47
阅读次数:
129
本来是想和大家分享一下WCF相关的东东的,首先想到的是SOA这个东西,现在很火,在网上也看了很多这方面的东西,发现原来还有很多带O..什么的东东,于是就贴出来一起和大家分享一下,也便于以后对这些概念的理解以及对SOA这种东东的理解..总的来说:面向服务(service Orientation,SO)...
分类:
其他好文 时间:
2015-12-21 09:16:20
阅读次数:
226
AlphaControls的使用方法转载▼一、安装方法:1.解压缩下载的文件,并把它放到你希望的位置,例如 D:\Coder\2.在Delphi的菜单:Tools->Environment Options->Library->Library Path也添加该文件夹的路径,如我使用XE3的就添加 D:...
分类:
其他好文 时间:
2015-12-21 09:15:33
阅读次数:
175
相当于构造方法,有的时候初始化的时候有一些默认值,还有就是页面加载数据的时机问题,防止加载了页面再填数据声明: -(instancetype)initWithName:(NSString*)aName andage:(int)aAge; //自定义的初始化方法必须以init开头实现: -(ins.....
分类:
其他好文 时间:
2015-12-21 09:17:09
阅读次数:
165
全文包括三部分:第一部分:API 高可用和管理以及安全模型第二部分:开放架构和混合云兼容第三部分:弹性架构和全球交付需求 5 - 扩展、弹性和性能 企业级的内容很丰富。过去,企业级往往和高可靠、高扩展和高性能的高质量系统相关。渐渐地,企业级的含义开始演变为 ”云级(coud-grade)“ 或者 ”...
分类:
其他好文 时间:
2015-12-21 08:10:35
阅读次数:
225
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).Write a function to determine if a number is...
分类:
其他好文 时间:
2015-12-21 08:11:52
阅读次数:
172
往期回顾:时光倒转,回到了3年前,丽姐那时是个天真、有理想、有抱负的大学毕业生,带着自己的梦来到了北京,刚上班就遭受到了老王不断的骚扰,俗话说,不怕没好事儿,就怕没好人,丽姐的母亲脑淤血入院,丽姐无奈之下打算和老王借钱,却不想......小序上班,你好。早,早,早;下班,再见,拜,拜,拜。我们每天大...
分类:
其他好文 时间:
2015-12-21 08:09:41
阅读次数:
217
centos 7 下配置xhgui详细流程,
分类:
其他好文 时间:
2015-12-21 08:08:13
阅读次数:
791
题意:有n(n=2)。求两个函数f(t),g(t),t的取值为0到50的整数,每次令x=f(t),y=g(t),产生一个51个点的集合。要求这个点集对于每个圆至少有一个点落在圆内或圆周上。g和f中只能使用常数,加法,乘法,减法,绝对值运算。输出f和g。分析:我们设计这样一个多项式,包含n项,当t取值...
分类:
其他好文 时间:
2015-12-21 08:08:59
阅读次数:
326
题目:Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space...
分类:
其他好文 时间:
2015-12-21 07:04:11
阅读次数:
137
Sort a linked list using insertion sort. 1 public class Solution { 2 public ListNode insertionSortList(ListNode head) { 3 ListNode dummy =...
分类:
其他好文 时间:
2015-12-21 07:04:28
阅读次数:
186
每周读书笔记链接:第一周:http://www.cnblogs.com/hw00332012/p/4824416.html第二周:http://www.cnblogs.com/hw00332012/p/4842510.html第三周:http://www.cnblogs.com/hw00332012...
分类:
其他好文 时间:
2015-12-21 07:04:56
阅读次数:
184
题目:Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k the...
分类:
其他好文 时间:
2015-12-21 07:04:57
阅读次数:
135
发表于:http://www.ballooncat.com/scrapy-setup.html最近在深入折腾scrapy,先放出环境搭建教程一枚,随后放出更多关于scrapy配置,扩展方面的教程.教程为beta版,部分细节在实际环境中可能会有出入.前言:1.系统centos5.5,默认安装了pyth...
分类:
其他好文 时间:
2015-12-21 07:03:42
阅读次数:
235
题目:Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2->3->4, you should return the list as 2->1->4->3.Your ...
分类:
其他好文 时间:
2015-12-21 07:04:00
阅读次数:
178