Archive for January, 2006

RSS reader - Part Three - Generator Class

Monday, January 30th, 2006

Please remember to read part one and part two.
Classes and Generators
All right, now that we have split our RSS reader up into functions, we’re going to go one step further and put our code into a class.
We’re also going to do something a bit more advanced with our class and create a generator. The […]

Popularity: 16%

Classes

Saturday, January 28th, 2006

If you are familiar with Object Oriented programming you probably already know what classes are. If you are unfamiliar with the idea of classes in programming I suggest you give the class topic a read over at wikipedia, it should familiarize you with the idea of a class.
Once you know what […]

Popularity: 5%

RSS reader - Part Two (and Functions)

Tuesday, January 24th, 2006

This post is my continuation of my Python based RSS reader that I wrote in part one. As I said the code written in part one is not something that you would ever really want to use or maintain since it wasn’t broken up in to functions properly. So, in this part we’re […]

Popularity: 23%

RSS reader - Part One

Saturday, January 14th, 2006

All right so I’ve already figured out how to write an executable script that writes out “Hello World!” to the command line, now I need to figure out how to do something interesting.
As a result I was surfing the Internet and reading some Python documentation, trying to come up with something to do but nothing […]

Popularity: 13%

Writing my first python script

Tuesday, January 10th, 2006

Well after reading the python documentation for a few days I decided it was time for me to write my first real script. Now I’ve written a few scripts before in the python interpreter, but I wanted to try my hand at creating some stand-alone executable file.

Now I didn’t want to go too crazy with my first script so I thought I would start off with the simplest program that everyone knows, the Hello World program. For this example I’m going to use the gedit since I already have it installed and it comes with built-in python syntax highlighting, but any standard or fancy text editor could be used in its place.

Popularity: 10%

Welcome Back!

Saturday, January 7th, 2006

Hello everyone! This is just a short post to let you all know that I have returned from my holidays eager to start learning Python. My holidays were busy and fun but now that they are done I feel rejuvenated in my quest to learn another programming language.
Also, just to let you know, […]

Popularity: 5%