Easy way to check modules for python version compatibility?

Discussion in 'Python' started by Stephen Toledo-Brown, Mar 4, 2005.

  1. Given some Python source, is there any tool which can tell the mimimum
    level of Python required to run that source? If I distribute some code,
    I need to be able to say which level of Python users require to run it.

    --
    Steve Toledo-Brown
    Speaking for myself only.
    Humans please use domain uk.ibm.com
    Stephen Toledo-Brown, Mar 4, 2005
    #1
    1. Advertising

  2. Stephen Toledo-Brown

    Guest

    I do not think there's a direct way of telling it - but you can try to
    catch a DeprecationWarning, that is issued by most code deprecated
    modules
    , Mar 4, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan Stewart
    Replies:
    11
    Views:
    957
    Ryan Stewart
    Jan 26, 2004
  2. kathy
    Replies:
    3
    Views:
    730
  3. Bruno Desthuilliers
    Replies:
    5
    Views:
    370
    Bruno Desthuilliers
    Aug 29, 2007
  4. V Green
    Replies:
    0
    Views:
    824
    V Green
    Feb 5, 2008
  5. PA Bear [MS MVP]
    Replies:
    0
    Views:
    929
    PA Bear [MS MVP]
    Feb 5, 2008
Loading...

Share This Page