Jan 07
First steps into Python
I’m almost at the end of the third chapter of Dive Into Python. The first time I considered learning Python, my pal Stuart persuaded me to blog my experience. He was interested to know what might trip me up or what I felt could be better explained to people from a non-development background.
First time round, I dismissed Dive Into Python because it seemed to be aimed at people who were already familiar with code. The first page of chapter 2 - Your first Python program - reminded me why I felt that way. The first example starts with a comment and then this line:
return ";".join(["%s=%s" % (k, v) for k, v in params.items()])
Python fans talk about its readability. While I’m not disputing Python’s readability - I’m in no position to - that line means nothing to me and, in a weaker moment, would have sent me scurrying for something with a greater relevance to my experience.
I’m enjoying Dive Into Python. I’m surprised not to have dived into anything just yet - it’s all a bit abstract so far. However, its reasonably straightforward approach makes a refreshing change from Why’s (Poignant) Guide to Ruby which, although amusing at first, seemed irritatingly determined to avoid the subject.
January 8th, 2008 at 3:13 pm
Hi,
I found Dive into Python was only good as a quick skim through aspects of python.
If/when you come to buy a book on python I’d recommend Core Python by Wesley Chun it’s very well written and great value for the number of pages you get:-
http://www.amazon.co.uk/Core-PYTHON-Programming-Wesley-Chun/dp/0132269937/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1199804915&sr=8-1
It starts with the basics and has chapters on things like GUI programming and multi-threading.
You should look at PyWM.eu as well :o)
Regards,
Simon Stanford
http://raetsel.wordpress.com