Hein (fub) wrote,
Hein
fub

  • Mood:

Python

Last evening and part of the morning, I've learned Python. I wanted to make a script that automatically generates the index pages of anime reviews for my site. Upto now, I've edited those pages by hand -- which is all fine and dandy for the chronological list (just tack those reviews to the bottom of the table), but is a PITA for the alphabetical ordered list. Especially with the even/odd highlighting scheme I've chosen.

Normally, I would fix such a small script in Perl, but I got curious as to what all the fuss about Python was about. So it took me some time to get my head around the language...
I'm mildly pleased with the language: the syntax looks so much cleaner (Perl looks like line-noise!), and the language itself is pleasantly expressive. I don't know whether I will continue working in Python, but it's certainly added to the list of choices.
Subscribe

  • Friday Five & GenX

    What toys were popular when you were a kid? This was the height of the 80’s, the time of cartoons on TV pushing toys. They were expensive…

  • Small update

    Wow, I haven’t posted in over a month here. And yet I still don’t feel like I have much to say. Let’s see… – The…

  • Mock Chicken

    The Judge Dredd comics are an interesting artefact of the 1980s: it’s what British comic writers thought how the US urban landscape would…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments