Mar-01-2019, 07:50 AM
i am now writing most of my scripts for Python3. is it reasonable to test which version of python is actually running and search for Python3 and if found, re-run the script under the intended version of python?
if not, then is it reasonable to raise an exception (instead of exiting with a status code)? if so, what class of exception should i raise?
if not, then is it reasonable to raise an exception (instead of exiting with a status code)? if so, what class of exception should i raise?