Press "Enter" to skip to content

Python Is Interesting

Yes, I’m very late to the party, but as I’ve been hearing quite a bit about how useful Python (Wikipedia) is, I’ve spent some spare time over the last week giving it a look. As was suggested by some friends I started with Python 2.6.2, which is the latest version of the previous branch of the language. (There is also a 3.0 branch, but it’s my understanding that it’s not yet widely used and is sufficiently different from the previous version that it’s best to start at 2.6.2.)

After going through most of the very nice official Python tutorial I began playing with Windows-specific things, most notably Tim Golden’s WMI Module, which seems to work quite well. I still have to get more comfortable with the language, but thus far I’ve had no problems reimplementing many of the basic scripts that I’ve written at work to automate random little tasks.

2 Comments

  1. Warren Smith
    Warren Smith August 20, 2009

    Welcome!

    I’ve been using python since 1995. I’ve learned other languages since, but I still prefer Python.

    FYI, you don’t need the str() call around the string literals in the code above (lines 8-10) since they are already strings.

    • c0nsumer
      c0nsumer August 22, 2009

      Warren: Thanks very much. I’d initially put the str() there when trying to get my head around some other stuff, then just left it there.

Leave a Reply