<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[martingen2016的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/martingen2016</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; martingen2016]]></copyright><item><title><![CDATA[［Python入门］Chapter11 字典]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50769214</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50769214</guid><author>martingen2016</author><pubDate>Mon, 29 Feb 2016 23:38:28 +0800</pubDate><description><![CDATA[字典像列表，但更一般。列表的索引必须是整数，但字典几乎可以是任何类型。基本操作
新建一个字典
  eng2sp=dict() 
  print eng2sp增加元素
  eng2sp[‘one’]=’uno’ 
  print eng2sp新建一个有多个元素的字典，注意其打印结果顺序。
  eng2sp={‘one’:’uno’,’two’:’dos’,’three’:’tres’} 
  prin]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter10 列表]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50757064</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50757064</guid><author>martingen2016</author><pubDate>Sat, 27 Feb 2016 21:26:47 +0800</pubDate><description><![CDATA[列表是一个序列列表是一个序列的值。 
列表中的数值称元素，或项目（Item），其可以是任何类型。
  items=[‘spam’,1,2.0,[10,’Edam’]]
列表是可以改变的访问列表中元素的语法，和访问字符串中字符的语法是相同的。
  numbers=[17,123] 
  number[1]=5 
  print numbers
遍历列表
  for x in numbers:]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter8 字符串]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50734131</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50734131</guid><author>martingen2016</author><pubDate>Wed, 24 Feb 2016 23:01:39 +0800</pubDate><description><![CDATA[字符串是一个序列字符串是字符的序列，比如访问第一个字符：
  fruit=’banana’ 
  print fruit[0]
括号中的表达式称为下标，下标指示了序列中对应的字符，并且从0开始。lenlen是一个内建函数，返回一个字符串的长度：
  fruit=’banana’ 
  print len(fruit)
循环遍历字符串第一种方式：使用while
  index=0 
  while i]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter7 迭代器]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50734080</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50734080</guid><author>martingen2016</author><pubDate>Wed, 24 Feb 2016 22:50:55 +0800</pubDate><description><![CDATA[多重赋值在Python中，给一个变量多次赋值是合法的。
  bruce=5 
  print bruce 
  bruce=’Hello ,World’ 
  print bruce
更新变量在更新一个变量之前，必须得初始化它。
  x=0 
  x=x+1
while语句while语句的执行流： 
1. 计算条件的值，产生结果True或False。 
2. 如果条件为假，退出while循环，继续执]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter6 函数]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50726669</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50726669</guid><author>martingen2016</author><pubDate>Tue, 23 Feb 2016 22:49:34 +0800</pubDate><description><![CDATA[函数结果返回值我们这样定义函数的返回：立即从函数返回，并将表达式的值作为返回值。比如定义一个面积函数：
  def area(radius): 
   return math.pi*radius**2
我们应该这样理解return：它定义了返回值，并且返回语句执行时，函数立即返回，不再执行后面的代码。布尔函数函数可以返回布尔值，这样便于隐藏函数中复杂的细节。例如：
  def is_divisibl]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter5 条件语句和递归]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50706757</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50706757</guid><author>martingen2016</author><pubDate>Sat, 20 Feb 2016 23:49:16 +0800</pubDate><description><![CDATA[模操作符模操作符％：用于两个整数，第一个整数除以第二个整数产生余数。
  quotient=7/3 
  print quotient 
  remainder=7%3 
  print remainder
布尔表达式布尔表达式：要么是真（true），要么为假（false）。
  5==5 
  5==6 
  type(True) 
  type(False)
逻辑运算符有三个：and，or和no]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter4 接口设计]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50706671</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50706671</guid><author>martingen2016</author><pubDate>Sat, 20 Feb 2016 23:15:28 +0800</pubDate><description><![CDATA[待定]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter3 函数]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50706625</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50706625</guid><author>martingen2016</author><pubDate>Sat, 20 Feb 2016 23:06:39 +0800</pubDate><description><![CDATA[在程序设计中，函数是带有函数名的一系列执行计算的语句。当定义一个函数，我们指定一个函数名和一系列语句。然后，就可以通过函数名调用函数。类型转换函数Python提供一些内置函数用来把一种类型转换成另一种类型。 
例如：
  int(‘32’)  #结果为整数32 
  int(‘3.999’) #结果为整数3 
  float(‘32’)  #结果为小数32 
  float(‘3.999’) #结果]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter2 变量、表达式和语句]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50706430</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50706430</guid><author>martingen2016</author><pubDate>Sat, 20 Feb 2016 22:20:42 +0800</pubDate><description><![CDATA[变量、表达式和语句2.1 变量和数据类型变量是程序处理的最基本的事物，比如一个字母，数字等。 
2.2变量一个变量是一个对应值的名称。
  message=’And now for something completely different’ 
  n=17 
  pi=3.1415926
用状态图（变量名指向变量的值的图）表示： 
 message->’And now for something]]></description><category></category></item><item><title><![CDATA[［官网文档翻译］Chapter1 Scala入门]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50687214</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50687214</guid><author>martingen2016</author><pubDate>Thu, 18 Feb 2016 16:48:15 +0800</pubDate><description><![CDATA[原文链接 
学习Scala的最佳方法取决于你已掌握的知识以及学习新知识的方式。有许多资源可以帮助你学习，比如图书，辅导手册，课程培训，教学演示，Scala编码实战等。许多人采用了一种很好的结合方式，那就是参考Scala众多图书中的一本并立刻投入到对自带Scala示例编译的尝试中去。然而，你或许也可以尝试从Scala培训课程或者在线资料开始你的学习。 
随着Scala知识的丰富，你将会发现更高深的素材]]></description><category></category></item><item><title><![CDATA[Chapter2 使用Web容器]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50672562</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50672562</guid><author>martingen2016</author><pubDate>Thu, 18 Feb 2016 16:22:16 +0800</pubDate><description><![CDATA[选择Web容器JavaEE Web应用程序运行在Java EE应用服务器和Web容器（亦称Servlet容器）中
  大多数Web容器都只实现了Servlet、JSP和JSTL规范，轻量级。 
  Java EE应用服务器实现了完整Java EE规范。 
  每个应用服务器都包含一个Web容器，用于管理Servlet生命周期、将请求URL映射到对应Servlet代码、接收和响应HTTP请求及管理过滤]]></description><category></category></item><item><title><![CDATA[［Python入门］Chapter1 编程方式]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50664772</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50664772</guid><author>martingen2016</author><pubDate>Mon, 15 Feb 2016 00:11:22 +0800</pubDate><description><![CDATA[学习编程学习编程是为了更好的解决问题！编程语言
  低级语言：如汇编语言、机器语言，执行速度快；可读性差，不易修改，可移植性差 
  高级语言：如C、Java、Python，简短，易懂，易跨平台；效率稍低
高级语言–>低级语言1.解释器：边解释边执行 
2.编译器：先编译，后执行 
Pythonpython是解释型语言，有两种使用解释器的方式： 
1.交互模式 
终端输入python后，回车 
2.]]></description><category></category></item><item><title><![CDATA[Chapter1 基本Web应用程序]]></title><link>https://blog.youkuaiyun.com/martingen2016/article/details/50664607</link><guid>https://blog.youkuaiyun.com/martingen2016/article/details/50664607</guid><author>martingen2016</author><pubDate>Sun, 14 Feb 2016 23:29:24 +0800</pubDate><description><![CDATA[基本Web应用程序结构
Servlet过滤器监听器和JSP
Servlet
过滤器
监听器
JSP
目录结构和WAR文件基本Web应用程序结构Java EE Web应用程序包含大量组件：
代码及依赖的第三方库
部署描述符
ClassLoader
打包应用程序到WAR或EAR
Servlet，过滤器，监听器和JSPServlet
关键组件
用于接收和响应HTTP请求
除了错误或被拦截的请求，几乎所有请]]></description><category></category></item></channel></rss>