Is there an implemented program solution to identify which version of the Python interpreter is supported for an undocumented .py module except for manually looking into the source code?
$ python get_py_version my_module.py
'2.6 version module'
Problem arose after installing an undocumented package in 3.x interpreter to discover during the import there are print
statements from 2.x interpreter