Is there a way to determine what version of python is a particular script compatible with ? 
I know this sounds like a stupid question but I have Python scripts from different sources. I have to manually run each script with the Python versions that I have installed on my system to check which version they are compatible with so was wondering if there is a more elegant way to do this?
If you run 2to3 on something and there are no corrections then it is at least python 3 compatible. Additionally, if you run pip install 3to2 and then run 3to2 and there are no corrections then said file is python 2 compatible.
Python - Script compatible by with which version?