Friday, August 8, 2008

Getting up to speed with Python

PyEPL is my favorite way to write experiments, and I'd recommend it strongly to anyone who likes programming. However, if you don't like programming, or you really hate the idea of learning to program, you're probably better off with E-Prime or something akin.

If you're new to the idea of programming but enthusiastic about it, then I'd strongly recommend going through the first 8 chapters of Michael Dawson's Python Programming for the Absolute Beginner (2nd edn). He covers a wide range of essential python syntax and functionality, with lots and lots of examples. Even if you're not that excited about video games (which comprise the majority of his examples), it's still an excellent and reasonably comprehensive resource. Going through that before trying to write your first experiment will make things proceed much more smoothly.

If you're an experienced programmer who's new to Python (or just want to brush up further), then I'd strongly recommend Mark Pilgrim's Dive into Python. This is actually completely freely available online, but the book edition is pretty affordable and sends a message of yayness to the author and publisher.

1 comment:

Andrej said...

I want to recommend "Think Python" which great for people with little or no background in programming. Get's you up to speed really fast and is not to shallow :)