Baby steps with Python
Started out playing around with Python as a scripting tool. Have to say, it really is a neat mix of the kinda power and libraries I’m used to with Perl and the flexibility of a pure scripting language.
Just for a giggle, I decided to re-write my C# backup script to backup some of my mac folders. Most of the language I’m still getting my head around. 4 times out of ten, each line gets a semi-colon. I’m using PyDev on Aptana.
Here’s the code I ended up with: (more…)