<?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>http://www.wreiner.at &#187; Code &amp; Snippets</title>
	<atom:link href="http://www.wreiner.at/topics/code-snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wreiner.at</link>
	<description>relaying useless spam since 2005-07-15 ..</description>
	<lastBuildDate>Fri, 30 Apr 2010 19:21:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Python: Parsen von Timestrings mit Timezoneinfo</title>
		<link>http://www.wreiner.at/2009/08/18/python-parsen-von-timestrings-mit-timezoneinfo/</link>
		<comments>http://www.wreiner.at/2009/08/18/python-parsen-von-timestrings-mit-timezoneinfo/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 10:02:02 +0000</pubDate>
		<dc:creator>Walter Reiner</dc:creator>
				<category><![CDATA[Code & Snippets]]></category>

		<guid isPermaLink="false">http://www.wreiner.at/?p=377</guid>
		<description><![CDATA[Schon öfter hab ich danach gesucht jetzt schreib ichs mal auf. Wie parset man in Python einen Timestring der so aussieht:
Tue, 14 Jul 2009 10:20:20 +0200
Ganz einfach &#8211; mit dem Modul dateutil:
&#62;&#62;&#62; from dateutil.parser import parse
&#62;&#62;&#62; d = parse(&#8216;Tue, 14 Jul 2009 10:20:20 +0200&#8242;);
&#62;&#62;&#62; d
datetime.datetime(2009, 7, 14, 10, 20, 20, tzinfo=tzoffset(None, 7200))


No related posts.


No related posts.]]></description>
		<wfw:commentRss>http://www.wreiner.at/2009/08/18/python-parsen-von-timestrings-mit-timezoneinfo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
