Skip to content

weijie ou's scratch pad

writing and tech sharing from a backend engineer

Month: October 2016

How to check Python version (both command-line and programmatically)

Sometimes you might want to confirm if your program will run / is running under Python 2.x or 3.x. We have a very simple way to do the stuff.

Published October 25, 2016
Categorized as Computer Science Tagged python

Recent Posts

  • Summary and thinking on Bulb Switcher problem
  • JavaScript (jQuery AngularJS) Notes
  • Compile & install 32 bit Python 2.7 on 64 bit CentOS 6.5
  • How to check Python version (both command-line and programmatically)

Recent Comments

    Archives

    • October 2019
    • October 2016

    Categories

    • Computer Science

    Meta

    • Register
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    weijie ou's scratch pad
    Proudly powered by WordPress.