CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Darrell Norton's Blog [MVP]

Fill in description here...

How to Learn Python

Hopefully I’ve convinced you to learn Python this year. Or maybe Sam Gentile did (Sam’s Python category). Either way you’re wondering how to start learning Python.

Python.org

The Python home page has a lot of information, so much so that it is bewildering to the new Python user. Skip the “What is Python?” page link (I’ll show you a better getting-started site). A better description of Python can be found at the Python programming language definition on Wikipedia. The important parts of Python.org are the Python documentation pages and the Introductory Material on Python page.

Dive Into Python

Mark Pilgrim’s book, web site, and Python resource hub. The book is free and comes in HTML, PDF, Word, plain text, and XML formats. If you are like me, and like to have the dead trees version so you don’t have to alt-tab back and forth, you can pick up a copy from Amazon.

Mark also lists 10 different versions of Python, and the first chapter in the book tells you how to set it up on each of the three major platforms (Windows, Mac, Unix/Linux) and how to ensure that you have it setup correctly. The style so far is great and I highly recommend Dive Into Python.

How to Think Like a Computer Scientist

This book was written by a high school professor, a college professor, and a Python programmer for the College Board’s Advanced Placement computer science classes (where high school student can earn college credit if they pass a test) because it offered “higher level of success and a lower level of frustration” than C++. This book is also free online. Mark Pilgrim refers to this book often in Dive Into Python.

Python Cookbook

ActiveState, producers of a win32 port of Python, have a great online Python Cookbook. Every one of the 1000+ recipes on the web site is free, and many of them went into the making of the Python Cookbook 2nd edition from O’Reilly (here is the first edition). They are sorted by category, editor’s pick, approval status, and date, or you can search all the recipes by keywords.

Daily Python-URL

This weblog-like (RSS feed) contains a daily list of links to things going on in the Python realm. Most of it won’t mean much at first, since it often contains articles and debates about future Python language features, parsers, and libraries you probably don’t care about to start off with.

Python.oreilly.com

In case you could not figure it out, this is on the O’Reilly network. The good stuff are the articles and the Python success stories part 1 and Python success stories part 2.

Where to go from here

Start by downloading the Dive Into Python book. Download the recommended IDE for your platform. If you are on Windows, you will be downloading ActiveState’s port of Python, ActivePython. Make sure to choose version 2.4. It comes with a pretty handy IDE called Pythonwin that has syntax coloring and Intellisense. Note that you do NOT have to give your contact info to ActiveState to download; just click the Next button.

Next time I’ll talk about the different ports of Python that would be of interest to the Windows/.NET programmer.

Update: I found and added a link to the Daily Python URL rss feed.



Comments

Darrell said:

Steve - I try to be of service somehow. :)
# January 10, 2005 2:13 PM

Brendan Tompkins said:

Okay. You've convinced me. :)
# January 11, 2005 1:02 AM

Darrell said:

Cool!
# January 11, 2005 2:20 AM

Mark Levison said:

Learning Python
# January 11, 2005 5:07 AM

Manish said:

Daily python url do have rss feed. I am subscribed to it.
# January 11, 2005 11:52 PM

Darrell said:

Manish - updated, thanks!
# January 12, 2005 1:10 AM

Nostradamnit said:

If you're looking for a nice free Pyton IDE, check out SPE, it's the best free one I've seen.
# January 14, 2005 2:37 AM

Darrell said:

You're right, that is a really cool IDE!
# January 14, 2005 4:21 AM

Sridhar said:

# January 15, 2005 5:34 PM

h said:

coool
# March 13, 2005 4:00 AM
Check out Devlicio.us!

Our Sponsors