Usage is like:
$ ./pythons --help cmd output started 2018 Sun Jan 28 10:47:51 AM PST Usage: ./pythons --command python-command --file python-file
Example usage:
$ pythons --command 'def foo(): yield 1' below cmd output started 2021 Thu Dec 23 01:50:28 PM PST /usr/local/cpython-0.9/bin/python (unknown) skipped skipped /usr/local/cpython-1.0/bin/python (1.0.1) bad File "", line 1 def foo(): yield 1 ^ SyntaxError: invalid syntax /usr/local/cpython-1.1/bin/python (1.1) bad File " ", line 1 def foo(): yield 1 ^ SyntaxError: invalid syntax /usr/local/cpython-1.4/bin/python (1.4) bad File " ", line 1 def foo(): yield 1 ^ SyntaxError: invalid syntax /usr/local/cpython-1.5/bin/python (1.5.2) bad File " ", line 1 def foo(): yield 1 ^ SyntaxError: invalid syntax /usr/local/cpython-1.6/bin/python (1.6.1) bad File " ", line 1 def foo(): yield 1 ^ SyntaxError: invalid syntax /usr/local/cpython-2.0/bin/python (2.0.1) bad File " ", line 1 def foo(): yield 1 ^ SyntaxError: invalid syntax /usr/local/cpython-2.1/bin/python (2.1.0) bad File " ", line 1 def foo(): yield 1 ^ SyntaxError: invalid syntax /usr/local/cpython-2.2/bin/python (2.2.0) bad :1: Warning: 'yield' will become a reserved keyword in the future File " ", line 1 def foo(): yield 1 ^ SyntaxError: invalid syntax /usr/local/cpython-2.3/bin/python (2.3.0) good /usr/local/cpython-2.4/bin/python (2.4.0) good /usr/local/cpython-2.5/bin/python (2.5.6) good /usr/local/cpython-2.6/bin/python (2.6.9) good /usr/local/cpython-2.7/bin/python (2.7.16) good /usr/local/cpython-3.0/bin/python (3.0.1) good /usr/local/cpython-3.1/bin/python (3.1.5) good /usr/local/cpython-3.2/bin/python (3.2.5) good /usr/local/cpython-3.3/bin/python (3.3.7) good /usr/local/cpython-3.4/bin/python (3.4.8) good /usr/local/cpython-3.5/bin/python (3.5.5) good /usr/local/cpython-3.6/bin/python (3.6.13) good /usr/local/cpython-3.7/bin/python (3.7.0) good /usr/local/cpython-3.8/bin/python (3.8.0) good /usr/local/cpython-3.9/bin/python (3.9.0) good /usr/local/cpython-3.10/bin/python (3.10.0) good /usr/local/pypy-7.3.0/bin/pypy (2.7.13) good /usr/local/pypy3-7.3.0/bin/pypy3 (3.6.9) good /usr/local/pypy3-7.3.3/bin/pypy3 (3.7.9) good /usr/local/micropython-1.11/bin/micropython (3.4.0) good /usr/local/micropython-1.12/bin/micropython (3.4.0) good /usr/local/micropython-1.15/bin/micropython (3.4.0) good /usr/local/micropython-git-2017-06-16/bin/micropython (3.4.0) good /usr/local/micropython-git-2018-06-06/bin/micropython (3.4.0) good 8 bad ******************** 24 good ************************************************************ 1 skipped **
As you can see, it's running that code on a variety of Python interpreters, all found under /usr/local.
You can e-mail the author with questions or comments: