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

  • Update

    Wow, what with one thing and another, I haven’t posted on here in a month! Time to give a short update on what’s been happening.…

  • Final RPG-a-Day: Thank

    The last prompt for RPG-a-Day this year is ‘Thank’. If you have read every entry of this year’s RPG-a-Day, then I certainly…

  • Next-to-last RPG-a-Day: Mention

    Today’s prompt is ‘Mention’. I guess this is where I mention people I look up to, or websites I frequent? Ok, here’s…

  • 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