<?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>Brent Bushnell &#187; python</title>
	<atom:link href="http://brentbushnell.com/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://brentbushnell.com</link>
	<description>Main Site</description>
	<lastBuildDate>Sun, 22 Aug 2010 01:26:34 +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>iPython</title>
		<link>http://brentbushnell.com/2008/11/23/ipython/</link>
		<comments>http://brentbushnell.com/2008/11/23/ipython/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 04:20:58 +0000</pubDate>
		<dc:creator>brent</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://brent.izolo.com/blog/?p=28</guid>
		<description><![CDATA[This interactive interpreter contains small upgrades to the default python interpreter.   Among others, native tab completion and a more bash like referencing of history commands.
Install on OSX 10.5 with two simple commands:
[brent@ronin ~]501$ sudo easy_install ipython
&#8230; snip&#8230;.
[brent@ronin ~]502$ sudo easy_install -f http://ipython.scipy.org/dist/ readline
Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>This interactive interpreter contains small upgrades to the default python interpreter.   Among others, native tab completion and a more bash like referencing of history commands.</p>
<p>Install on OSX 10.5 with two simple commands:</p>
<p>[brent@ronin ~]501$ sudo easy_install ipython<br />
&#8230; snip&#8230;.<br />
[brent@ronin ~]502$ sudo easy_install -f <a href="http://ipython.scipy.org/dist/">http://ipython.scipy.org/dist/</a> readline</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://brentbushnell.com/2008/11/23/ipython/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pygame on OSX</title>
		<link>http://brentbushnell.com/2008/11/15/pygame-on-osx/</link>
		<comments>http://brentbushnell.com/2008/11/15/pygame-on-osx/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 22:53:05 +0000</pubDate>
		<dc:creator>brent</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://brent.izolo.com/blog/?p=25</guid>
		<description><![CDATA[There are a few options for getting pygame running on OSX, namely, the MacPorts version and the version off of the Pygame site.  
The MacPort is available here.  Note it&#8217;s named py-game.  It has a huge number of dependencies.    Install this via the command:

sudo port install py-game

If it fails for you like [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few options for getting pygame running on OSX, namely, the MacPorts version and the version off of the Pygame site.  </p>
<p>The MacPort is available <a href="http://py-game.darwinports.com/">here</a>.  Note it&#8217;s named py-game.  It has a huge number of dependencies.    Install this via the command:</p>
<blockquote><p>
sudo port install py-game
</p></blockquote>
<p>If it fails for you like it did for me, use the following:</p>
<p>Download the source ball from <a href="http://www.pygame.org/download.shtml">here</a>.  Follow their OSX instructions <a href="http://www.pygame.org/wiki/MacSVNCompile">here</a> with these caveats:<br />
- The MacPort package names are wrong in the instructions, use the following command instead:</p>
<blockquote><p>
sudo port install libsdl-framework libsdl_ttf-framework libsdl_image-framework libsdl_mixer-framework
</p></blockquote>
<p>- If you&#8217;re running SVN 1.5, it isn&#8217;t supported by the standard OSX python install of setuptools, meaning that pygame won&#8217;t install.  Run the following to remedy:</p>
<blockquote><p>
svn co http://svn.python.org/projects/sandbox/branches/setuptools-0.6 setuptools<br />
cd setuptools<br />
sudo python setup.py install
</p></blockquote>
<p>In theory, you&#8217;re done!  Download a good game to verify you&#8217;ve got everything running <a href="http://www.imitationpickles.org/melons/melons.tgz">here</a> (tgz file)</p>
]]></content:encoded>
			<wfw:commentRss>http://brentbushnell.com/2008/11/15/pygame-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>import this</title>
		<link>http://brentbushnell.com/2008/11/13/import-this/</link>
		<comments>http://brentbushnell.com/2008/11/13/import-this/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 07:24:26 +0000</pubDate>
		<dc:creator>brent</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[art]]></category>

		<guid isPermaLink="false">http://brent.izolo.com/blog/?p=24</guid>
		<description><![CDATA[I love python for a lot of reasons, not the least of which are easter egg gems like this:

[brent@ronin ~]501$ python
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.
>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is [...]]]></description>
			<content:encoded><![CDATA[<p>I love python for a lot of reasons, not the least of which are easter egg gems like this:</p>
<blockquote><p>
[brent@ronin ~]501$ python<br />
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)<br />
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin<br />
Type &#8220;help&#8221;, &#8220;copyright&#8221;, &#8220;credits&#8221; or &#8220;license&#8221; for more information.<br />
>>> import this<br />
The Zen of Python, by Tim Peters</p>
<p>Beautiful is better than ugly.<br />
Explicit is better than implicit.<br />
Simple is better than complex.<br />
Complex is better than complicated.<br />
Flat is better than nested.<br />
Sparse is better than dense.<br />
Readability counts.<br />
Special cases aren&#8217;t special enough to break the rules.<br />
Although practicality beats purity.<br />
Errors should never pass silently.<br />
Unless explicitly silenced.<br />
In the face of ambiguity, refuse the temptation to guess.<br />
There should be one&#8211; and preferably only one &#8211;obvious way to do it.<br />
Although that way may not be obvious at first unless you&#8217;re Dutch.<br />
Now is better than never.<br />
Although never is often better than *right* now.<br />
If the implementation is hard to explain, it&#8217;s a bad idea.<br />
If the implementation is easy to explain, it may be a good idea.<br />
Namespaces are one honking great idea &#8212; let&#8217;s do more of those!<br />
>>>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://brentbushnell.com/2008/11/13/import-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIM settings for Python</title>
		<link>http://brentbushnell.com/2008/11/03/vim-settings-for-python/</link>
		<comments>http://brentbushnell.com/2008/11/03/vim-settings-for-python/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 17:58:06 +0000</pubDate>
		<dc:creator>brent</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://brent.izolo.com/blog/?p=23</guid>
		<description><![CDATA[Here are a few VIM settings that have been helpful to me for python.   
This adds improved syntax highlighting:
http://www.vim.org/scripts/script.php?script_id=790
Add the following to your .vimrc file.  This is usually located in your home directory at ~/.vimrc

autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
autocmd BufRead *.py set tabstop=4
autocmd BufRead *.py set shiftwidth=4
autocmd BufRead *.py set smarttab
autocmd [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a few VIM settings that have been helpful to me for python.   </p>
<p>This adds improved syntax highlighting:<br />
http://www.vim.org/scripts/script.php?script_id=790</p>
<p>Add the following to your .vimrc file.  This is usually located in your home directory at ~/.vimrc</p>
<blockquote><p>
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class<br />
autocmd BufRead *.py set tabstop=4<br />
autocmd BufRead *.py set shiftwidth=4<br />
autocmd BufRead *.py set smarttab<br />
autocmd BufRead *.py set expandtab<br />
autocmd BufRead *.py set softtabstop=4<br />
autocmd BufRead *.py set autoindent<br />
</blockquote >
]]></content:encoded>
			<wfw:commentRss>http://brentbushnell.com/2008/11/03/vim-settings-for-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
