Easy way to check modules for python version compatibility?

  • Thread starter Stephen Toledo-Brown
  • Start date
S

Stephen Toledo-Brown

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.
 
W

wittempj

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top