Python command-line examples

Translate Python 3 code on Windows:

sourceanalyzer -b Python3Proj -python-path "C:\Python312\Lib;C:\Python312\Lib\site-packages" src/*.py

Translate Python 2 code on Windows:

sourceanalyzer -b MyPython2 -python-version 2 -python-path "C:\Python27\Lib;C:\Python27\Lib\site-packages" src/*.py

Translate Python 3 code on non-Windows:

sourceanalyzer -b Python3Proj -python-path /usr/lib/python3.12:/usr/local/lib/python3.12/site-packages src/*.py

Translate Python 2 code on non-Windows:

sourceanalyzer -b MyPython2 -python-version 2 -python-path /usr/lib/python2.7:/usr/local/lib/python2.7/site-packages src/*.py