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

  • 2013 in review

    2013 is the year when everything changed. The biggest event was the birth of our daughter Lily. She was born prematurely in Shanghai while we…

  • 2012 in review

    2012 has been fairly quiet. Maybe it just seems that way because I haven't actually written anything new in this blog since last year's annual…

  • new photo galleries

    I've been busy processing photo galleries from the last year (or two) and putting them online for your perusal. Vancouver 2010 Northland…

  • 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