Both are good, and many others besides. RogueBasin has an entire category dedicated to programming languages. My own Tomb of the Snake is written in Python, and I just started work on an article describing how it's made. In the mean time, there are various tutorials online. Can't seem to find the link to any right now, but I'll get back.