<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[AllenLiAnG96的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/AllenLiAnG96</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; AllenLiAnG96]]></copyright><item><title><![CDATA[Python学习笔记3--字符串]]></title><link>https://blog.youkuaiyun.com/AllenLiAnG96/article/details/48478927</link><guid>https://blog.youkuaiyun.com/AllenLiAnG96/article/details/48478927</guid><author>AllenLiAnG96</author><pubDate>Wed, 16 Sep 2015 00:46:34 +0800</pubDate><description><![CDATA[raw字符串抑制转义如果字母r（大写或小写）出现在字符串的第一引号前面，它将会关闭转义机制。 
     
    myfile=open(r’c:\new\text.txt’,’w’) 
     
还有一种办法：因为两个反斜杠是一个反斜杠的转义序列，能够通过简单地写两个反斜线去保留反斜杠： 
     
    myfile=open(‘c:\new\text.txt’,’w’) 
    三重]]></description><category></category></item><item><title><![CDATA[Python学习笔记2--模式匹配]]></title><link>https://blog.youkuaiyun.com/AllenLiAnG96/article/details/48477835</link><guid>https://blog.youkuaiyun.com/AllenLiAnG96/article/details/48477835</guid><author>AllenLiAnG96</author><pubDate>Tue, 15 Sep 2015 23:07:12 +0800</pubDate><description><![CDATA[窃以为，模式匹配在将来利用Python做爬虫的时候会比较有用。
模式匹配需要导入re模块。
下面就是一段模式匹配
import re
match=re.match('hello[\t]*(.*)world','hello python world')
match.group(1)
这段代码的作用就是用re模块中的match方法来找到hello和world中间的字符。
再比如下一段impo]]></description><category></category></item><item><title><![CDATA[Python学习笔记1--动态类型]]></title><link>https://blog.youkuaiyun.com/AllenLiAnG96/article/details/48450439</link><guid>https://blog.youkuaiyun.com/AllenLiAnG96/article/details/48450439</guid><author>AllenLiAnG96</author><pubDate>Mon, 14 Sep 2015 23:38:24 +0800</pubDate><description><![CDATA[学习的语言并不多，大概就是c和c艹了，但是这两种语言对于底层的控制比较严格，对于变量的声明也是比较严格的，我对此深恶痛绝，因为总是记不住要怎么输出，怎么选择，基本上定义变量类型的时候直接用float，但是假期学c++的时候 primer plus告诉我，当年是为了节省空间什么的，现在没有什么必要，但是对于嵌入式系统，那些小内存的系统，控制内存大小就十分有必要了。第一段貌似跑题了。。


Py]]></description><category></category></item><item><title><![CDATA[开博MARK]]></title><link>https://blog.youkuaiyun.com/AllenLiAnG96/article/details/48450351</link><guid>https://blog.youkuaiyun.com/AllenLiAnG96/article/details/48450351</guid><author>AllenLiAnG96</author><pubDate>Mon, 14 Sep 2015 23:36:32 +0800</pubDate><description><![CDATA[哈哈，作为一只小白程序员开始了造轮子的征程了。]]></description><category></category></item></channel></rss>