[Python-ideas] Migration of /usr/bin/python to python3
David Blaschke
dwblas at gmail.com
Wed Mar 11 22:08:20 CET 2015
Sorry if this is a double post-didn't reply to all
Checking for default version is trivial unless I am missing something
.import sys
.if sys.version_info[0] < 3:
. ## /usr/bin/python2 via subprocess.call or whatever
.else:
. ##/usr/bin/python3
--
Only when you actually get to the state where there is neither
delusion nor enlightenment are you finally comfortable...Foyan
More information about the Python-ideas
mailing list