<?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>logic involved &#187; python</title> <atom:link href="http://www.coliena.com/blog/tag/python/feed/" rel="self" type="application/rss+xml" /><link>http://www.coliena.com/blog</link> <description>... more often than not ...</description> <lastBuildDate>Sat, 21 Jan 2012 18:09:36 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Coping with &#8220;DeprecationWarning: BaseException&#8221; Warnings in Python</title><link>http://www.coliena.com/blog/2011/01/coping-with-deprecationwarning-baseexception-in-python/</link> <comments>http://www.coliena.com/blog/2011/01/coping-with-deprecationwarning-baseexception-in-python/#comments</comments> <pubDate>Thu, 06 Jan 2011 18:50:46 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[development]]></category> <category><![CDATA[python]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=450</guid> <description><![CDATA[BaseException has been deprecated as of Python 2.6. So if you have something like this in your code &#8230; try: doSomethingStupid&#40;&#41; except MyException, e: print e.message &#8230; you will run in some warnings. This is a quick way to fix those problems: try: doSomethingStupid&#40;&#41; except MyException, e: print str&#40;e&#41;]]></description> <content:encoded><![CDATA[<p>BaseException has been deprecated as of Python 2.6. So if you have something like this in your code &#8230;</p><div
class="wp_syntax"><div
class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">try</span>:
     doSomethingStupid<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">except</span> MyException, e:
     <span style="color: #ff7700;font-weight:bold;">print</span> e.<span style="color: black;">message</span></pre></div></div><p>&#8230; you will run in some warnings. This is a quick way to fix those problems:</p><div
class="wp_syntax"><div
class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">try</span>:
     doSomethingStupid<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
<span style="color: #ff7700;font-weight:bold;">except</span> MyException, e:
     <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #008000;">str</span><span style="color: black;">&#40;</span>e<span style="color: black;">&#41;</span></pre></div></div>]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2011/01/coping-with-deprecationwarning-baseexception-in-python/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Portable Python for Windows</title><link>http://www.coliena.com/blog/2009/10/portable-python-for-windows/</link> <comments>http://www.coliena.com/blog/2009/10/portable-python-for-windows/#comments</comments> <pubDate>Sun, 04 Oct 2009 16:09:58 +0000</pubDate> <dc:creator>niels</dc:creator> <category><![CDATA[development]]></category> <category><![CDATA[portable]]></category> <category><![CDATA[python]]></category> <category><![CDATA[windows]]></category><guid
isPermaLink="false">http://coliena.com/blog/?p=191</guid> <description><![CDATA[You are looking for a Python version to run from your USB drive? Then relax and head right over to python.org! They provide up-to-date versions of Portable Python. Even more, they bundle all the plugins you will need on Windows: * Django-1.0.2-final * IPython-0.9.1 * PIL-1.1.6 * Py2exe-0.6.9 * PyGame-1.8.1 * PyReadline-1.5 * PyScripter v1.9.9.6 [...]]]></description> <content:encoded><![CDATA[<p>You are looking for a Python version to run from your USB drive? Then relax and head right over to <a
title="http://portablepython.com/wiki/Download" href="http://portablepython.com/wiki/Download" target="_blank">python.org</a>! They provide up-to-date versions of Portable Python. Even more, they bundle all the plugins you will need on Windows:<br
/> *  Django-1.0.2-final<br
/> *  IPython-0.9.1<br
/> *  PIL-1.1.6<br
/> *  Py2exe-0.6.9<br
/> *  PyGame-1.8.1<br
/> *  PyReadline-1.5<br
/> *  PyScripter v1.9.9.6<br
/> *  PyWin32-212<br
/> *  Rpyc-2.60<br
/> *  SPE-0.8.4.c<br
/> *  wxPython-unicode-2.8.9.1</p><p>Ok, nearly all the plugins you will need <img
src='http://www.coliena.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>Have a look at <a
title="http://pymssql.sourceforge.net/" href="http://pymssql.sourceforge.net/" target="_blank">pymssql.sf.net</a> for a  Microsoft SQL Server module.</p> ]]></content:encoded> <wfw:commentRss>http://www.coliena.com/blog/2009/10/portable-python-for-windows/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: www.coliena.com @ 2012-02-06 00:02:55 by W3 Total Cache -->
