<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>月影鹏鹏 &#187; 编程语言</title>
	<atom:link href="http://jk.aiwaly.com/wp/category/it-technology/programming-language/feed" rel="self" type="application/rss+xml" />
	<link>http://jk.aiwaly.com</link>
	<description>不断探索,追求卓越,做快乐自己</description>
	<lastBuildDate>Thu, 29 Mar 2012 01:09:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>centos5上php53的mcrypt模块</title>
		<link>http://jk.aiwaly.com/wp/centos-5-php53-mcrypt.html</link>
		<comments>http://jk.aiwaly.com/wp/centos-5-php53-mcrypt.html#comments</comments>
		<pubDate>Thu, 01 Sep 2011 08:05:38 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[开源软件]]></category>
		<category><![CDATA[网站运维]]></category>

		<guid isPermaLink="false">http://jacky.aiwaly.com/?p=3093</guid>
		<description><![CDATA[centos 的  php53-mcrypt   安装包  yum方式无法找到，所以按如下方式可以编译所需的模块。

wget http://museum.php.net/php5/php-5.3.3.tar.gz
yum install php53-devel
yum install libmcrypt-devel
cd /usr/src/
tar zxvf /php-5.3.3.tar.gz
cd php-5.3.3/ext/mcrypt/
phpize
aclocal
./configure
make
make install
Add following line to /etc/php.d/mcrypt.ini
extension=mcrypt.so
Restart web server
php -m
你可以看到 mcrypt  模块已经添加
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/centos-5-php53-mcrypt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux下php扩展pdo编译安装</title>
		<link>http://jk.aiwaly.com/wp/linux-php-pdo.html</link>
		<comments>http://jk.aiwaly.com/wp/linux-php-pdo.html#comments</comments>
		<pubDate>Thu, 03 Mar 2011 13:07:40 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[开源软件]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2924</guid>
		<description><![CDATA[linux下的php扩展与windows下的扩展安装有些不同。下面就拿在linux下扩展php的pdo,pdo_mysql模块来说明一下
1.在php的原码安装包里，进入到etc/pdo_mysql里。假设你的php是安装在/usr/local/php里的。执行/usr/local/php/bin/phpize
2. 进行编译。./configure &#8211;with-php-config=/usr/local/php/bin/php-config &#8211;with-pdo-mysql=/usr/local/mysql (假设你的mysql是安装在/usr/local/mysql)
3.编译安装。make,make install。
4.到了第3步的时候。在/usr/local/php/lib/php/extensions里就会多了个no-debug-non-zts-20050922文件夹，它里面就生成了一个pdo_mysql.so
5.修改php.ini，加入扩展语句extension=&#8221;/usr/local/php/lib/php/extensions/no-debug-non-zts-20050922/pdo_mysql.so&#8221;
6.重启apache。OK扩展完成
7.安装pdo的方法与pdo_mysql的方法一样.但是要注意在这个安装过程中如果系统没有aclocal命令,那么请先安装这个命令,这个命令在autoconf包里。
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/linux-php-pdo.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS5 x86_64位系统中yum安装的mysql,在编译php时找不到client问题解决</title>
		<link>http://jk.aiwaly.com/wp/centos5-x86_64-mysql-php-client-question.html</link>
		<comments>http://jk.aiwaly.com/wp/centos5-x86_64-mysql-php-client-question.html#comments</comments>
		<pubDate>Mon, 03 Jan 2011 07:54:03 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[databases]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[question (问题)]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2862</guid>
		<description><![CDATA[# export LDFLAGS=-L/usr/lib64/mysql \\ 定义环境变量
或者将Makefile里面的
-L/usr/lib/mysql
改为
-L/usr/lib64/mysql
或者编辑php的configure 文件找到下面的这一段 ，搜索MYSQL_LIB_DIR，加上lib64 lib64/mysql就可以啦。
for i in $PHP_LIBDIR $PHP_LIBDIR/mysql lib64 lib64/mysql; do
str=”$MYSQL_DIR/$i/lib$MYSQL_LIBNAME.*”
for j in `echo $str`; do
if test -r $j; then
MYSQL_LIB_DIR=$MYSQL_DIR/$i
break 2
fi
done
done
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/centos5-x86_64-mysql-php-client-question.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Subversion权限控制手册</title>
		<link>http://jk.aiwaly.com/wp/subversion%e6%9d%83%e9%99%90%e6%8e%a7%e5%88%b6%e6%89%8b%e5%86%8c.html</link>
		<comments>http://jk.aiwaly.com/wp/subversion%e6%9d%83%e9%99%90%e6%8e%a7%e5%88%b6%e6%89%8b%e5%86%8c.html#comments</comments>
		<pubDate>Tue, 16 Nov 2010 01:54:15 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[linux 应用]]></category>
		<category><![CDATA[开源软件]]></category>
		<category><![CDATA[编程语言]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2827</guid>
		<description><![CDATA[ 
Subversion权限控制手册
        在文章《Subversion详细说明》中，我们曾经建立了一个版本控制仓库，现在打开这个版本控制仓库，让我们来看看这个目录结构，

我们会在目录结构中找到一个叫做conf的文件夹，打开这个文件夹，你会看到三个文件，分别叫做authz，passwd，svnserve.conf。
下面我们就来介绍一下这三个文件的作用格式什么。
首先，我们介绍passwd这个文件。
用你习惯的文本编辑器打开这个文件，你会看到一些使用“#”注释掉的说明，其中关键的就是在[users]下面，有
# harry = harryssecret
# sally = sallyssecret
样的样板代码，意思就是有两个用户，其中一个的用户名叫“harry”，密码为“harryssecret”，而另一个用户名为“sally”，密码为“sallyssecret”。我们接下来为我们的测试下面添加一些用户，这样方便我们下面的说明。比如，我要添加三个用户，一个叫做“nicholas”，密码为“nicholas”，第二个用户名为“friend”，密码为“friend”，第三个为“stranger”，密码为“strangers”。
代码如下：
nicholas = nicholas
friend = friend
         stranger = stranger
这样，我们就添加好了三个认证用户。



 
### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
### example below it contains one section labelled [users].
### The name and password for each user follow, one account per [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/subversion%e6%9d%83%e9%99%90%e6%8e%a7%e5%88%b6%e6%89%8b%e5%86%8c.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用Python写个进程监控程序</title>
		<link>http://jk.aiwaly.com/wp/python-monitor.html</link>
		<comments>http://jk.aiwaly.com/wp/python-monitor.html#comments</comments>
		<pubDate>Tue, 28 Sep 2010 03:54:22 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2761</guid>
		<description><![CDATA[有个应用程序不是很稳定,又暂时找到具体问题,只知道出现错误时日志文件会反映出来.
该应用定时更新日志目录,有两个日志文件:fromclient.log 记录接收请求,fromserver.log记录接收服务端返回.
出现问题时一般是fromclient.log日志在更新,但是fromserver.log就停止了.
灵机一动,何不用python写个监控日志的程序,发现程序异常就自动重启,这样不至于严重影响客户使用.
多出时间来彻底解决问题.
于是就有了下面的代码:
#!/bin/env Python
# -*- coding: cp936 -*-
import glob,os,time,stat,sys
deadflag = 60   #判断进程死掉的秒数
def GetFileTime(filename):
return os.stat(filename)[stat.ST_CTIME]
def main():
 path = glob.glob(&#8220;../log/PROXY*&#8221;)[-1]
 clifile = path + &#8220;/&#8221; + &#8220;mt.log&#8221;
svrfile = path + &#8220;/&#8221; + &#8220;fromserver.log&#8221;
 clitime = GetFileTime(clifile)
svrtime = GetFileTime(svrfile)
 print clifile,time.localtime(clitime)
print svrfile,time.localtime(svrtime)
if abs(svrtime-clitime) &#62; deadflag:
print &#8220;time is over! will restart!&#8221;
os.system(&#8220;sh /home/esm/bin/restart_tcpproxy.sh&#8221;)
return
if __name__ == &#8220;__main__&#8221;:
main()
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/python-monitor.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>使用minidom来处理XML的示例(Python 学习)(转载)</title>
		<link>http://jk.aiwaly.com/wp/minidom-xml-python.html</link>
		<comments>http://jk.aiwaly.com/wp/minidom-xml-python.html#comments</comments>
		<pubDate>Sat, 25 Sep 2010 08:55:53 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2754</guid>
		<description><![CDATA[一.XML的读取.
在 NewEdit 中有代码片段的功能，代码片段分为片段的分类和片段的内容。在缺省情况下都是用XML格式保存的。下面我讲述一下，如何使用minidom来读取和保存XML文件。
下面是片段分类的一个示例文件&#8211;catalog.xml

4
Python
测试
Zope
分类是树状结构，显示出来可能为：
Python
测试
Zope
先简单介绍一下XML的知识，如果你已经知道了可以跳过去。
1. XML文档的编码
此XML文档的编码为utf-8，因此你看到的“测试”其实是UTF-8编码。在XML文档的处理中都是使用UTF-8编码进行的，因此，如果你不写明encoding的话，都是认为文件是UTF-8编码的。在Python中，好象只支持几种编码，象我们常用的GB2312码就不支持，因此建议大家在处理XML时使用UTF-8编码。
2. XML文档的结构
XML文档有XML头信息和XML信息体。头信息如：
它表明了此XML文档所用的版本，编码方式。有些复杂的还有一些文档类型的定义(DOCTYPE)，用于定义此XML文档所用的DTD或Schema和一些实体的定义。这里并没有用到，而且我也不是专家，就不再细说了。
XML信息体是由树状元素组成。每个XML文档都有一个文档元素，也就是树的根元素，所有其它的元素和内容都包含在根元素中。
3. DOM
DOM是Document Object Model的简称，它是以对象树来表示一个XML文档的方法，使用它的好处就是你可以非常灵活的在对象中进行遍历。
4. 元素和结点
元素就是标记，它是成对出现的。XML文档就是由元素组成的，但元素与元素之间可以有文本，元素的内容也是文本。在minidom中有许多的结点，元素也属于结点的一种，它不是叶子结点，即它存在子结点；还存在一些叶子结点，如文本结点，它下面不再有子结点。
象catalog.xml中，文档元素是catalog，它下面有两种元素：maxid和item。maxid用来表示当前最大的item的id 值。每一个item都有一个id属性，id属性是唯一的，在 NewEdit 中用来生成每个分类所对应的代码片段的XML文档名，因此不能重复，而且它是一个递增的值。item元素有一个caption子元素，用来表示此分类项的名称，它还可以包含item元素。这样，就定义了一个树状XML结构，下面让我们看一看如果把它们读出来。
一、得到dom对象
&#62;&#62;&#62; import xml.dom.minidom
&#62;&#62;&#62; dom = xml.dom.minidom.parse(&#8216;d:/catalog.xml&#8217;)
这样我们得到了一个dom对象，它的第一个元素应该是catalog。
二、得到文档元素对象
&#62;&#62;&#62; root = dom.documentElement
这样我们得到了根元素(catalog)。
三、结点属性
每一个结点都有它的nodeName，nodeValue，nodeType属性。nodeName为结点名字。
&#62;&#62;&#62; root.nodeName
u&#8217;catalog&#8217;
nodeValue是结点的值，只对文本结点有效。nodeType是结点的类型，现在有以下几种：
&#8216;ATTRIBUTE_NODE&#8217;
&#8216;CDATA_SECTION_NODE&#8217;
&#8216;COMMENT_NODE&#8217;
&#8216;DOCUMENT_FRAGMENT_NODE&#8217;
&#8216;DOCUMENT_NODE&#8217;
&#8216;DOCUMENT_TYPE_NODE&#8217;
&#8216;ELEMENT_NODE&#8217;
&#8216;ENTITY_NODE&#8217;
&#8216;ENTITY_REFERENCE_NODE&#8217;
&#8216;NOTATION_NODE&#8217;
&#8216;PROCESSING_INSTRUCTION_NODE&#8217;
&#8216;TEXT_NODE&#8217;
这些结点通过名字很好理解。catalog是ELEMENT_NODE类型。
&#62;&#62;&#62; root.nodeType
1
&#62;&#62;&#62; root.ELEMENT_NODE
1
四、子元素、子结点的访问
访问子元素、子结点的方法很多，对于知道元素名字的子元素，可以使用getElementsByTagName方法，如读取maxid子元素：
&#62;&#62;&#62; root.getElementsByTagName(&#8216;maxid&#8217;)
[]
这样返回一个列表，由于我们的例子中maxid只有一项，因此列表也只有一项。
如果想得到某个元素下的所有子结点(包括元素)，可以使用childNodes属性：
&#62;&#62;&#62; root.childNodes
[, , , , , , , , ]
可以看出所有两个标记间的内容都被视为文本结点。象每行后面的回车，都被看到文本结点。从上面的结果我们可以看出每个结点的类型，本例中有文本结点和元素结点；结点的名字（元素结点）；结点的值（文本结点）。每个结点都是一个对象，不同的结点对象有不同的属性和方法，更详细的要参见文档。由于本例比较简单，只涉及文本结点和元素结点。
getElementsByTagName可以搜索当前元素的所有子元素，包括所有层次的子元素。childNodes只保存了当前元素的第一层子结点。
这样我们可以遍历childNodes来访问每一个结点，判断它的nodeType来得到不同的内容。如，打印出所有元素的名字：
&#62;&#62;&#62; for node in root.childNodes:
if node.nodeType == node.ELEMENT_NODE:
print node.nodeName
maxid
item
item
对于文本结点，想得到它的文本内容可以使用: .data属性。
对于简单的元素，如：
Python
，我们可以编写这样一个函数来得到它的内容（这里为Python）。
def getTagText(root, tag):
node = root.getElementsByTagName(tag)[0]
rc = &#8220;&#8221;
for node in node.childNodes:
if node.nodeType in ( node.TEXT_NODE, [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/minidom-xml-python.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>python使用uniqueidentifier转字符串的方法</title>
		<link>http://jk.aiwaly.com/wp/uniqueidentifier.html</link>
		<comments>http://jk.aiwaly.com/wp/uniqueidentifier.html#comments</comments>
		<pubDate>Thu, 16 Sep 2010 09:29:00 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[databases]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2747</guid>
		<description><![CDATA[python 输出 uniqueidentifier 时是乱码
此示例将 uniqueidentifier 值转换为 char 数据类型。
复制DECLARE @myid uniqueidentifier
SET @myid = NEWID()
 SELECT CONVERT(char(255), @myid) AS &#8216;char&#8217;;
GO
我对字符长短进行了定制，变成一下方法
SELECT CONVERT(char(36), @myid) AS &#8216;char&#8217;;
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/uniqueidentifier.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python 学习资源</title>
		<link>http://jk.aiwaly.com/wp/python-study-source.html</link>
		<comments>http://jk.aiwaly.com/wp/python-study-source.html#comments</comments>
		<pubDate>Fri, 30 Apr 2010 04:06:32 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=2409</guid>
		<description><![CDATA[Python 简明教程 (入门必看)
* 在线浏览: http://www.woodpecker.org.cn:9081/doc/abyteofpython_cn/chinese/index.html
* PDF: http://bbs.chinaunix.net/attachm &#8230;  0ZGdmUnJJUXlNZVE%3D

Python Tutorial 简体中文版 (March Liu翻译)
* 在线浏览: http://www.woodpecker.org.cn:9081/projects/pythontutorial/py2.5/html/tut/tut.html
* PDF:  http://www.woodpecker.org.cn:908 &#8230;  .5/Py2_5_tut_cn.pdf
* 最新3.x打包地址: http://openbookproject.googlecod &#8230;  utorial_zh081031.7z
Dive Into Python &#8212; 《深入Python》
* 在线浏览: http://www.woodpecker.org.cn/diveintopython/toc/index.html
* 打包下载: http://www.woodpecker.org.cn/diveintopython/#download
* 最新DIP3地址: http://www.woodpecker.org.cn/diveintopython3/
]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/python-study-source.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>smarty及php系统变量</title>
		<link>http://jk.aiwaly.com/wp/smarty%e5%8f%8aphp%e7%b3%bb%e7%bb%9f%e5%8f%98%e9%87%8f.html</link>
		<comments>http://jk.aiwaly.com/wp/smarty%e5%8f%8aphp%e7%b3%bb%e7%bb%9f%e5%8f%98%e9%87%8f.html#comments</comments>
		<pubDate>Wed, 30 Dec 2009 02:20:00 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[English Version]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[编程语言]]></category>

		<guid isPermaLink="false">http://jk.scanmon.com/?p=1691</guid>
		<description><![CDATA[

{* 显示URL中的page值（$_GET）http://www.example.com/index.php?page=foo *}
{$smarty.get.page}
{* 显示来自一个表单的&#8221;page&#8221;变量（$_POST['page']）*}
{$smarty.post.page}
{* 显示COOKIE变量&#8221;username&#8221;的值（$_COOKIE['username']）*}
{$smarty.cookies.username}
{* 显示服务器变量&#8221;SERVER_NAME&#8221;（$_SERVER['SERVER_NAME']）*}
{$smarty.server.SERVER_NAME}
{$smarty.server.PHP_SELF}
{$smarty.server.SCRIPT_NAME}
{* 显示系统环境变量&#8221;PATH&#8221; *}
{$smarty.env.PATH}
{* 显示PHP会话变量&#8221;id&#8221;（$_SESSION['id']）*}
{$smarty.session.id}
{* 显示变量&#8221;username&#8221;，不论来自get/post/cookies/server/env *}
{$smarty.request.username}
$smarty}保留变量可以被用于访问一些特殊的模板变量，以下是全部页面请求变量。
以 下是访问页面请求变量诸如get,post,cookies,server,enviroment和session变量的例子. 例如{$smarty.server.SERVER_NAME}取得服务器变量，{$smarty.env.PATH}取得系统环境变量path, 　　　　　　   {$smarty.request.username}取得get/post/cookies/server/env的复合变量。
{$smarty.now}变量用于访问当前时间戳.
可以用 date_format调节器格式化输出. 例如{$smarty.now&#124;date_format:&#8221;%Y-%m-%d %H:%M:%S&#8221;}
{$smarty.const}
你可以直接访问PHP常量. 例如{$smarty.const._MY_CONST_VAL}
{$smarty.capture}
可以通过{capture}..{/capture}结构 截取的输出可以使用{$smarty} 变量访问.
{$smarty.config}
{$smarty}变量 可以访问已经加载的config变量.
例如 {$smarty.config.foo}就可以表示 {#foo#}.
{$smarty.section}, {$smarty.foreach}
{$smarty} 变量可以访问&#8217;section&#8217;和&#8217;foreach&#8217;循环的属性.
{$smarty.template}
显示当前被处理的模板的名字.
{$smarty.version}
显示smarty模板的版本
{$smarty.ldelim}
显示左分隔符
{$smarty.rdelim}
显示右分隔符$smarty}保留变量可以被用于访问一些特殊的模板变量，以下是全部页面请求变量。
以 下是访问页面请求变量诸如get,post,cookies,server,enviroment和session变量的例子. 例如{$smarty.server.SERVER_NAME}取得服务器变量，{$smarty.env.PATH}取得系统环境变量path, 　　　　　　   {$smarty.request.username}取得get/post/cookies/server/env的复合变量。
{$smarty.now}变量用于访问当前时间戳.
可以用 date_format调节器格式化输出. 例如{$smarty.now&#124;date_format:&#8221;%Y-%m-%d %H:%M:%S&#8221;}
{$smarty.const}
你可以直接访问PHP常量. 例如{$smarty.const._MY_CONST_VAL}
{$smarty.capture}
可以通过{capture}..{/capture}结构 截取的输出可以使用{$smarty} 变量访问.
{$smarty.config}
{$smarty}变量 可以访问已经加载的config变量.
例如 {$smarty.config.foo}就可以表示 {#foo#}.
{$smarty.section}, {$smarty.foreach}
{$smarty} 变量可以访问&#8217;section&#8217;和&#8217;foreach&#8217;循环的属性.
{$smarty.template}
显示当前被处理的模板的名字.
{$smarty.version}
显示smarty模板的版本
{$smarty.ldelim}
显示左分隔符
{$smarty.rdelim}
显示右分隔符
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
PHP获取当前url路径的函数及服务器变量:
代码如下：
&#60;?php
echo $_SERVER['DOCUMENT_ROOT'].&#8221;&#60;br&#62;&#8221;; //获得服务器文档根变量
echo $_SERVER['PHP_SELF'].&#8221;&#60;br&#62;&#8221;; //获得执行该代码的文件服务器绝对路径的变量
echo __FILE__.&#8221;&#60;br&#62;&#8221;; //获得文件的文件系统绝对路径的变量
echo dirname(__FILE__); //获得文件所在的文件夹路径的函数
?&#62;
//server函数
$_SERVER["HTTP_REFERER"]=http://localhost/lianxi/
$_SERVER["HTTP_ACCEPT_LANGUAGE"]=zh-cn
$_SERVER["HTTP_ACCEPT_ENCODING"]=gzip, deflate
$_SERVER["HTTP_USER_AGENT"]=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT [...]]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/smarty%e5%8f%8aphp%e7%b3%bb%e7%bb%9f%e5%8f%98%e9%87%8f.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python功能简介</title>
		<link>http://jk.aiwaly.com/wp/python%e5%8a%9f%e8%83%bd%e7%ae%80%e4%bb%8b.html</link>
		<comments>http://jk.aiwaly.com/wp/python%e5%8a%9f%e8%83%bd%e7%ae%80%e4%bb%8b.html#comments</comments>
		<pubDate>Wed, 15 Jul 2009 02:09:39 +0000</pubDate>
		<dc:creator>月影鹏鹏</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jacky.scanmon.com/?p=1082</guid>
		<description><![CDATA[Python是一种解析性的，交互式的，面向对象的编程语言，类似于Perl、Tcl、Scheme或Java。
Python一些主要功能介绍:

Python使用一种优雅的语法，可读性强。
Python是一种很灵活的语言，能帮你轻松完成编程工作。并可作为一种原型开发语言，加快大型程序的开发速度。
有 多种数据类型：numbers (integers, floating point, complex, and unlimited-length long integers), strings (ASCII 和 Unicode), lists, dictionaries。
Python支持类和多层继承等的面向对象编程技术。
代码能打包成模块和包，方便管理和发布。
支持异常处理，能有效捕获和处理程序中发生的错误。
强大的动态数据类型支持，不同数据类型相加会引发一个异常。
Python支持如生成器和列表嵌套等高级编程功能。
自动内存碎片管理，有效利用内存资源。
强大的类库支持，使编写文件处理、正则表达式，网络连接等程序变得相当容易。
Python的交互命令行模块能方便地进行小代码调试和学习。
Python易于扩展，可以通过C或C++编写的模块进行功能扩展。
Python解析器可作为一个编程接口嵌入一个应用程序中。
Python可运行在多种计算机平台和操作系统中，如各位unix，windows，MacOS,OS/2等等。
Python是开源的，可自由免费使用和发布，并且可用于商业用途以获取利润。如想详细了解Python的许可协议可到以下网址查询

]]></description>
		<wfw:commentRss>http://jk.aiwaly.com/wp/python%e5%8a%9f%e8%83%bd%e7%ae%80%e4%bb%8b.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

