Greg Hewgill (ghewgill) wrote,
Greg Hewgill
ghewgill

pyqver - identify minimum python version

The other day on Stack Overflow, somebody asked a question about whether there was a tool to determine the minimum version of Python required for a given script. Apparently such a thing didn't exist, and I've also had a need for such a tool in the past.

So, in the spirit of having an itch to scratch and doing something about it, I put together pyqver (for PYthon Query VERsion) which attempts to determine the minimum version of Python required to execute a particular script. It's reasonably complete but there are some aspects that are not yet handled (as mentioned in the README file). Feel free to fork and improve it!
Subscribe

  • foiled again

    So I finished my earthquake widget about a week or so ago. I was waiting to send it to the Yahoo Widget Gallery so that the screen snapshot they…

  • email address obfuscation

    At the bottom of each of my web pages, I have a footer that looks something like this: Greg Hewgill greg@hewgill.com Having my email…

  • minilink reaches 10k links

    The minilink (lnk.nu) link shortening service first went online in october 2004. Today, a milestone was passed - there have been more than 10,000…

  • 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 

  • 1 comment