<?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>Doing &#38; Done &#187; python</title>
	<atom:link href="http://doing.liduan.com/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://doing.liduan.com</link>
	<description>Record and Store</description>
	<lastBuildDate>Thu, 11 Feb 2010 11:19:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>using python get current timestamp

&amp;g &#8230;</title>
		<link>http://doing.liduan.com/2009/05/02/using-python-get-current-timestampg/</link>
		<comments>http://doing.liduan.com/2009/05/02/using-python-get-current-timestampg/#comments</comments>
		<pubDate>Sat, 02 May 2009 13:41:22 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[time stamp]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/02/using-python-get-current-timestampg/</guid>
		<description><![CDATA[using python get current timestamp
&#62;&#62;&#62;import time
&#62;&#62;&#62;time.time()
//currenting timestamp to int
&#62;&#62;&#62;int(time.time())
//converting to string
&#62;&#62;&#62;str(time.time())]]></description>
			<content:encoded><![CDATA[<p>using python get current timestamp</p>
<p>&gt;&gt;&gt;import time</p>
<p>&gt;&gt;&gt;time.time()</p>
<p>//currenting timestamp to int</p>
<p>&gt;&gt;&gt;int(time.time())</p>
<p>//converting to string</p>
<p>&gt;&gt;&gt;str(time.time())</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/02/using-python-get-current-timestampg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using python get friend timeline in twit &#8230;</title>
		<link>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/</link>
		<comments>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/#comments</comments>
		<pubDate>Fri, 01 May 2009 20:53:37 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/</guid>
		<description><![CDATA[using python get friend timeline in twitter. following tools should be used:
python-twitter
python-simplejson
first install python-simplejson, if in ubuntu, just using command as follows
$apt-get install python-simplejson
then, downloading python-twitter , unpackage it. then using command
  $ python setup.py build
  $ python setup.py install
then, open python.
&#62;&#62;&#62; import twitter
&#62;&#62;&#62; api = twitter.Api(&#8220;username&#8221;, &#8220;passworld&#8221;)
&#62;&#62;&#62; posts = api.GetFriendsTimeline(&#8216;username&#8217;)
&#62;&#62;&#62; print [post.text in post [...]]]></description>
			<content:encoded><![CDATA[<p>using python get friend timeline in twitter. following tools should be used:</p>
<p><a title="python-twitter" href="http://code.google.com/p/python-twitter/" target="_blank">python-twitter</a></p>
<p>python-simplejson</p>
<p>first install python-simplejson, if in ubuntu, just using command as follows</p>
<p>$apt-get install python-simplejson</p>
<p>then, downloading <a title="python-twitter" href="http://code.google.com/p/python-twitter/" target="_blank">python-twitter</a> , unpackage it. then using command</p>
<pre><span class="pln">  $ python setup</span><span class="pun">.</span><span class="pln">py build
  $ python setup</span><span class="pun">.</span><span class="pln">py install</span></pre>
<p>then, open python.</p>
<p>&gt;&gt;&gt; import twitter</p>
<p>&gt;&gt;&gt; api = twitter.Api(&#8220;username&#8221;, &#8220;passworld&#8221;)</p>
<p>&gt;&gt;&gt; posts = api.GetFriendsTimeline(&#8216;username&#8217;)</p>
<p>&gt;&gt;&gt; print [post.text in post as posts ];</p>
<p>for the file, the script should be liked:<br />
<code><br />
import twitter<br />
class mytwitter():</p>
<p>def __init__(self):<br />
  self._config = None</p>
<p>def main():<br />
  api = twitter.Api('username', 'passworld')<br />
  posts = api.GetFriendsTimeline('username')<br />
  for post in posts:<br />
    print post.text.encode('utf-8')</p>
<p>if __name__ == "__main__":<br />
  main()<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I found a http server that developed by  &#8230;</title>
		<link>http://doing.liduan.com/2009/02/13/i-found-a-http-server-that-developed-by/</link>
		<comments>http://doing.liduan.com/2009/02/13/i-found-a-http-server-that-developed-by/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 13:10:23 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[http server]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/02/13/i-found-a-http-server-that-developed-by/</guid>
		<description><![CDATA[I found a http server that developed by python. but it is not multiple thread. it provide simple service for http request and dir request. and a other python http server tutorial is here.]]></description>
			<content:encoded><![CDATA[<p>I found a <a title="http server that developed by python" href="http://fragments.turtlemeat.com/pythonwebserver.php" target="_blank">http server that developed by python</a>. but it is not multiple thread. it provide simple service for http request and dir request. and a other python http server <a title="python http server tutorial" href="http://python.about.com/od/networkingwithpython/ss/PythonWebServer.htm" target="_blank">tutorial is here</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/02/13/i-found-a-http-server-that-developed-by/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web.py and lighttpd is full work current &#8230;</title>
		<link>http://doing.liduan.com/2008/11/21/webpy-and-lighttpd-is-full-work-current/</link>
		<comments>http://doing.liduan.com/2008/11/21/webpy-and-lighttpd-is-full-work-current/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:54:16 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[quixote]]></category>
		<category><![CDATA[vps hosting]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/21/webpy-and-lighttpd-is-full-work-current/</guid>
		<description><![CDATA[web.py and lighttpd is full work currently.  ]]></description>
			<content:encoded><![CDATA[<p>web.py and lighttpd is full work currently. <img src='http://doing.liduan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/21/webpy-and-lighttpd-is-full-work-current/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>quixote and lighttpd is fully work curre &#8230;</title>
		<link>http://doing.liduan.com/2008/11/21/quixote-and-lighttpd-is-fully-work-curre/</link>
		<comments>http://doing.liduan.com/2008/11/21/quixote-and-lighttpd-is-fully-work-curre/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:40:01 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[quixote]]></category>
		<category><![CDATA[scgi]]></category>
		<category><![CDATA[vps hosting]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/21/quixote-and-lighttpd-is-fully-work-curre/</guid>
		<description><![CDATA[quixote and lighttpd is fully work currendly.  ]]></description>
			<content:encoded><![CDATA[<p>quixote and lighttpd is fully work currendly. <img src='http://doing.liduan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/21/quixote-and-lighttpd-is-fully-work-curre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>try web.py with lighttpd.</title>
		<link>http://doing.liduan.com/2008/11/21/try-webpy-with-lighttpd/</link>
		<comments>http://doing.liduan.com/2008/11/21/try-webpy-with-lighttpd/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:17:21 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[vps hosting]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[web.py]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/21/try-webpy-with-lighttpd/</guid>
		<description><![CDATA[try web.py with lighttpd.]]></description>
			<content:encoded><![CDATA[<p>try <a title="web.py is a web framework for python that is as simple as it is powerful." href="http://webpy.org/">web.py</a> with lighttpd.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/21/try-webpy-with-lighttpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quixote and Lighttpd</title>
		<link>http://doing.liduan.com/2008/11/20/quixote-and-lighttpd/</link>
		<comments>http://doing.liduan.com/2008/11/20/quixote-and-lighttpd/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 16:46:09 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[pylons]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[quixote]]></category>
		<category><![CDATA[scgi]]></category>
		<category><![CDATA[summary]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/20/quixote-and-lighttpd/</guid>
		<description><![CDATA[Quixote and Lighttpd
pylons??]]></description>
			<content:encoded><![CDATA[<p><a title="Quixote and Lighttpd" href="http://quixote.ca/qx/LighttpdScgi">Quixote and Lighttpd</a><br />
<a title="Lighttpd, SCGI and Pylons" href="http://www.keningle.com/?p=10">pylons??</a></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/20/quixote-and-lighttpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>quixote and scgi example(chiese)
1. 1
 &#8230;</title>
		<link>http://doing.liduan.com/2008/11/20/quixote-and-scgi-examplechiese1-1/</link>
		<comments>http://doing.liduan.com/2008/11/20/quixote-and-scgi-examplechiese1-1/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 16:44:52 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dit]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[quixote]]></category>
		<category><![CDATA[scgi]]></category>
		<category><![CDATA[vps hosting]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/20/quixote-and-scgi-examplechiese1-1/</guid>
		<description><![CDATA[quixote and scgi example(chiese)
1. 1
2. 2]]></description>
			<content:encoded><![CDATA[<p>quixote and scgi example(chiese)<br />
1. <a href="http://www.apolov.com/html/2008/07/15/1216091040.html">1</a><br />
2. <a href="http://code.google.com/p/openbookproject/source/browse/trunk/LovelyPython/PCS/pcs-304/AbtQuixote.moin?spec=svn1942&#038;r=1942">2</a></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/20/quixote-and-scgi-examplechiese1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>try to enable python quixote with scgi o &#8230;</title>
		<link>http://doing.liduan.com/2008/11/20/try-to-enable-python-quixote-with-scgi-o/</link>
		<comments>http://doing.liduan.com/2008/11/20/try-to-enable-python-quixote-with-scgi-o/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 15:53:13 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dit]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[quixote]]></category>
		<category><![CDATA[scgi]]></category>
		<category><![CDATA[vps hosting]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/20/try-to-enable-python-quixote-with-scgi-o/</guid>
		<description><![CDATA[try to enable python quixote with scgi on lighttpd.
get python-quixote
get python-scgi]]></description>
			<content:encoded><![CDATA[<p>try to enable python quixote with scgi on lighttpd.<br />
get python-quixote<br />
get python-scgi</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/20/try-to-enable-python-quixote-with-scgi-o/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I have install follow service on my vps  &#8230;</title>
		<link>http://doing.liduan.com/2008/11/18/i-have-install-follow-service-on-my-vps/</link>
		<comments>http://doing.liduan.com/2008/11/18/i-have-install-follow-service-on-my-vps/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 13:24:31 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dit]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vps hosting]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/18/i-have-install-follow-service-on-my-vps/</guid>
		<description><![CDATA[I have install follow service on my vps hosting:
samba &#8211; file and print server
lighttpd &#8211; a fast webserver
python &#8211; script language
ruby &#8211; script programming language]]></description>
			<content:encoded><![CDATA[<p>I have install follow service on my vps hosting:<br />
<a title="samba file and print server" href="http://us3.samba.org/samba/">samba</a> &#8211; file and print server<br />
<a title="lighttpd a fast webserver" href="http://www.lighttpd.net/">lighttpd</a> &#8211; a fast webserver<br />
<a title="python script programming language" href="http://www.python.org/">python</a> &#8211; script language<br />
<a title="ruby script programming language" href="http://www.ruby-lang.org/en/">ruby</a> &#8211; script programming language</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/18/i-have-install-follow-service-on-my-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
