<?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>Artful Code &#187; python</title>
	<atom:link href="http://www.artfulcode.net/tags/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artfulcode.net</link>
	<description>Resources and tips for dynamic, interactive languages.</description>
	<lastBuildDate>Tue, 15 Jun 2010 11:31:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Runtime ChoiceField filtering in Django&#8217;s admin</title>
		<link>http://www.artfulcode.net/articles/runtime-choicefield-filtering-in-djangos-admin/</link>
		<comments>http://www.artfulcode.net/articles/runtime-choicefield-filtering-in-djangos-admin/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 13:34:03 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/?p=741</guid>
		<description><![CDATA[Django 1.x brought with it much finer grained control over the admin application with admin forms and inline form sets. However, I still keep running into the same problem that I have since I started using Django &#8211; you cannot provide a limited queryset for a select field that depends on other instance variables. Take [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/runtime-choicefield-filtering-in-djangos-admin/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>MultiFormDict</title>
		<link>http://www.artfulcode.net/articles/multiformdict/</link>
		<comments>http://www.artfulcode.net/articles/multiformdict/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 18:08:14 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/?p=454</guid>
		<description><![CDATA[For the moment, I am stuck on Django 0.96 on one of our servers at work, but needed the formset functionality from the newer forms module.  It is a common problem and easily dealt with by prepending keys with a common token to group forms&#8217; values together.  I ended up writing a little derived class [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/multiformdict/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python in NetBeans</title>
		<link>http://www.artfulcode.net/articles/python-in-netbeans/</link>
		<comments>http://www.artfulcode.net/articles/python-in-netbeans/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 00:28:53 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/?p=377</guid>
		<description><![CDATA[For the past few weeks I've been using the NetBeans (with the new Python module) as my primary IDE.  I generally use TextMate, which is more than an editor and less than the kitchen sink, lying somewhere between BBEdit and Emacs.  TextMate is fast and a pleasure to use, but lately I have found myself in need of something a little more robust.]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/python-in-netbeans/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Django Caching with Backups</title>
		<link>http://www.artfulcode.net/articles/django-caching-backups/</link>
		<comments>http://www.artfulcode.net/articles/django-caching-backups/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:16:46 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/articles/django-caching-backups/</guid>
		<description><![CDATA[Django&#8217;s cache is useful to speed up access to data from slow sources, such as a remote RSS feed. But if the remote source becomes inaccessible, the data disappears after the cache expires it. One solution is to store the data longer, but that can lead to stale data. Another solution is to keep two [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/django-caching-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mutable default parameter values in Python</title>
		<link>http://www.artfulcode.net/articles/mutable-default-parameter-values-python/</link>
		<comments>http://www.artfulcode.net/articles/mutable-default-parameter-values-python/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 15:09:51 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/articles/mutable-default-parameter-values-python/</guid>
		<description><![CDATA[In Python, everything is an object. Variables are technically names for references to objects. Therefore, when passing an argument to a function, what is in fact being passed is the value of the reference. This leads to some useful techniques. Mutable and immutable objects as parameters The issue is muddied further by mutable and immutable [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/mutable-default-parameter-values-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extending Python with (almost) anything</title>
		<link>http://www.artfulcode.net/articles/extending-python-almost-anything/</link>
		<comments>http://www.artfulcode.net/articles/extending-python-almost-anything/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 19:42:00 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[newlisp]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/articles/extending-python-almost-anything/</guid>
		<description><![CDATA[Among the various methods of extending Python about which I have written, Python 2.5&#8242;s ctypes module is possibly the easiest. Libraries written in many languages beyond C, including ECL, may be compiled into a shared library or DLL. Many other languages, like Lua and newLISP, include simple DLLs of their own to embed their interpreters [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/extending-python-almost-anything/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Threading in Django</title>
		<link>http://www.artfulcode.net/articles/threading-django/</link>
		<comments>http://www.artfulcode.net/articles/threading-django/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 16:46:00 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[threads]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/articles/threading-django/</guid>
		<description><![CDATA[Profitable use of threading in web development is rare, particularly when contending with Python&#8217;s global interpreter lock. There are a few notable exceptions to this. The global interpreter lock (GIL) is the method that Python uses to maintain internal thread-safety when not all Python objects are thread-safe. The GIL ensures that no Python object may [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/threading-django/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Psyco and Django</title>
		<link>http://www.artfulcode.net/articles/psyco-and-django/</link>
		<comments>http://www.artfulcode.net/articles/psyco-and-django/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 22:25:06 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/articles/psyco-and-django/</guid>
		<description><![CDATA[Psyco is a module that optimizes Python applications on the fly. Numerous resources online describe how to use psyco in a Django-powered application to speed it up. My experiences with this has been less than wonderful. I wrote a simple middleware class to import psyco as suggested here: # Be sure to only load on [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/psyco-and-django/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Per-user caching in Django</title>
		<link>http://www.artfulcode.net/articles/per-user-caching-django/</link>
		<comments>http://www.artfulcode.net/articles/per-user-caching-django/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 21:22:55 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/articles/per-user-caching-django/</guid>
		<description><![CDATA[Django comes with an easy-to-use caching framework. With a few simple decorators, an application&#8217;s views are cached. Decorators can even be used to control upstream caches, such as those maintained by ISPs. Nevertheless, if a rendered view is customized with information individual to a user, these caching options cease to be useful. Django has several [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/per-user-caching-django/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Partial application and currying</title>
		<link>http://www.artfulcode.net/articles/partial-application-and-currying/</link>
		<comments>http://www.artfulcode.net/articles/partial-application-and-currying/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 18:33:00 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[functional]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.artfulcode.net/articles/partial-application-and-currying/</guid>
		<description><![CDATA[Currying, known in Python land as partial application, is a technique in which a function taking multiple arguments composes a function that takes fewer arguments (in most languages, reducing to one, although this is not the case in Python) by partially applying it to given parameters. For example, a function, sum, might be used to [...]]]></description>
		<wfw:commentRss>http://www.artfulcode.net/articles/partial-application-and-currying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
