Monday, January 11, 2010

Goal 1 : Hello World

Download python compiler and do hello world.

start time 2:08

Downloaded and up and running with hello world by 2:13, anything else achieved after this point is an added bonus.

I like the way that python deals with argv


import re, string, sys

one = sys.argv[1]
two = sys.argv[2]
three = sys.argv[3]

print one + two + three


Worked for a bit more on this tutorial

hello world:
http://python.about.com/od/gettingstarted/ss/helloworld.htm

and found that the rest of the tutorial was somewhat useless, lacked good explanations etc. That said, I've got my compiler up and running and will start tomorrows exploration of python out by creating a short list of goals. I did learn a few things, but the final program didn't compile (due to poor explanation of placement of code segments).

Finished this line at 2:28

No comments:

Post a Comment