<?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>4's symfony blog &#187; python</title>
	<atom:link href="http://www.foolbirds.com/c/python/feed" rel="self" type="application/rss+xml" />
	<link>http://www.foolbirds.com</link>
	<description>all about symfony</description>
	<lastBuildDate>Fri, 14 Oct 2011 12:36:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>python3 判断 变量类型</title>
		<link>http://www.foolbirds.com/python3-is-typ.html</link>
		<comments>http://www.foolbirds.com/python3-is-typ.html#comments</comments>
		<pubDate>Tue, 02 Feb 2010 09:33:00 +0000</pubDate>
		<dc:creator>bobhero</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.foolbirds.com/?p=1001</guid>
		<description><![CDATA[初学PYTHON3
想知道 如何 判断 一个变量 是否为 字串
试了了下  没有 isstring的函数
type(a) == &#8217;str&#8217;也不好用
查了一下手册发现
isinstance是好用的
用法如下
def isString(a)
return isinstance(a,str)
随机日志PHP中静态调用非静态方法使用symfony filter 过滤URL外包 佣兵计划symfony1.2中的文件上传和验证Symfony中自定义form中offsetUnset的应用symfony 权限访问控制（多用户访问证书）symfony1.2使用1.0插件sfFeedPlugin一例symfony 1.4 数据库 utf8设置插件使用一例:在form中加入拾色器如何实现动态添加／删除表格元素]]></description>
			<content:encoded><![CDATA[<p>初学PYTHON3</p>
<p>想知道 如何 判断 一个变量 是否为 字串</p>
<p>试了了下  没有 isstring的函数</p>
<p>type(a) == &#8217;str&#8217;也不好用</p>
<p>查了一下手册发现</p>
<p>isinstance是好用的</p>
<p>用法如下</p>
<p>def isString(a)</p>
<p>return isinstance(a,str)</p>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li><a href="http://www.foolbirds.com/install-uncompatible-symfony-plugin-and-use-sffeedplugin.html" title="symfony1.2使用1.0插件sfFeedPlugin一例">symfony1.2使用1.0插件sfFeedPlugin一例</a></li><li><a href="http://www.foolbirds.com/%e5%a6%82%e4%bd%95%e5%9c%a8fixtures-yml%e5%86%99%e5%be%aa%e7%8e%af%e6%b7%bb%e5%8a%a0%e6%95%b0%e6%8d%ae.html" title="如何在fixtures.yml写循环添加数据">如何在fixtures.yml写循环添加数据</a></li><li><a href="http://www.foolbirds.com/to-be-a-symfony-contributor.html" title="成为一名symfony文档贡献者.">成为一名symfony文档贡献者.</a></li><li><a href="http://www.foolbirds.com/symfony_delete_mate_name_title.html" title="在symfony中如何删除 head mate name=title ">在symfony中如何删除 head mate name=title </a></li><li><a href="http://www.foolbirds.com/%e5%9c%a8layout%e4%b8%ad%e5%ba%94%e7%94%a8action%e5%ae%9a%e4%b9%89%e7%9a%84%e5%8f%98%e9%87%8f.html" title="在layout中应用action定义的变量">在layout中应用action定义的变量</a></li><li><a href="http://www.foolbirds.com/how-to-use-swift-to-send-mail-in-symfon.html" title="如何使用swift发送邮件">如何使用swift发送邮件</a></li><li><a href="http://www.foolbirds.com/use-colorpicke.html" title="插件使用一例:在form中加入拾色器">插件使用一例:在form中加入拾色器</a></li><li><a href="http://www.foolbirds.com/symfony-references-with-propel.html" title="symfony数据表关联详解(for propel)">symfony数据表关联详解(for propel)</a></li><li><a href="http://www.foolbirds.com/generate-admin-templates-structure.html" title="symfony1.2的后台(generate-admin)模板结构">symfony1.2的后台(generate-admin)模板结构</a></li><li><a href="http://www.foolbirds.com/partial-and-layout.html" title="局部模板和全局模板">局部模板和全局模板</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.foolbirds.com/python3-is-typ.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

