Chapter 3: Notes on “Dive Into Python” by Mark Pilgrim

April 22nd, 2009 | No Comments »

Note: I’m currently in the process of learning Python.  These are notes on “Dive Into Python” by Mark Pilgrim (also available online), an excellent book if you’re like me and learn by the “do first, understand later” method.

In Chapter 3, Mark introduces:

Read the rest of this entry »


Chapter 2: Notes on “Dive Into Python” by Mark Pilgrim

April 22nd, 2009 | No Comments »

Note: I’m currently in the process of learning Python.  These are notes on “Dive Into Python” by Mark Pilgrim (also available online), an excellent book if you’re like me and learn by the “do first, understand later” method.

Declaring functions

def functionName(params):

Defining a function’s doc string

def functionName(params):
   """This is the explanation of the function, surrounded by triple quotes.
   Returns a string."""

Further reading on document strings:

Read the rest of this entry »


Blog Take 2

April 20th, 2009 | No Comments »

Yep, I’m giving it another go.  What – or more importantly, if - I write here is yet to be determined; however, I’m currently starting this blog back up with the thought of it being a repository of notes I take.  

So the main audience here am I, but if you find something here of interest, bon appetite!