<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Jon D Koon]]></title>
  <link href="http://jondkoon.com/atom.xml" rel="self"/>
  <link href="http://jondkoon.com/"/>
  <updated>2012-05-12T07:54:46-04:00</updated>
  <id>http://jondkoon.com/</id>
  <author>
    <name><![CDATA[Jon D Koon]]></name>
    <email><![CDATA[jondkoon@gmail.com]]></email>
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[What I like about Python]]></title>
    <link href="http://jondkoon.com/blog/2012/05/04/what-i-like-about-python/"/>
    <updated>2012-05-04T20:53:00-04:00</updated>
    <id>http://jondkoon.com/blog/2012/05/04/what-i-like-about-python</id>
    <content type="html"><![CDATA[<p>I have done several web projects in Python using <a href="http://djangoproject.com">Django</a>, but I never did a foundational study of the language before hand. So&#8230;  I am reading through <a href="http://learnpythonthehardway.org/">Learn Python the Hard Way</a> and I wanted to document the things that I really like about Python as I am learning it from the ground up.</p>

<p>Here is my list in no particular order</p>

<ul>
<li>multiline strings with <code>"""</code></li>
<li>dynamic typing</li>
<li>imports</li>
<li>simple format strings with <code>%</code></li>
<li>having a repl for easy experimentation</li>
<li>pydoc</li>
<li><a href="http://ipython.org/">IPython</a></li>
<li>The <a href="http://docs.python.org/">Python Docs</a></li>
<li>unpacking arguments</li>
<li>opening, reading, and writing files is very simple</li>
<li>file writing and reading is designed so that scripts can run on multiple operating systems easily</li>
<li>the <code>os</code> module is available for creating cross OS programs</li>
<li>human readable ternary operator: <code>'yes' if exists(file) else 'no'</code></li>
</ul>


<p>I will also list a few gothchas or Aha moments:
- integer division</p>
]]></content>
  </entry>
  
</feed>

