Run the following command to print the current environment installed Python architecture (32-bit or 64-bit).

$ python -c "import struct;print(8 * struct.calcsize('P'))"

# or using command substitution:
$ python_arch=$(python -c "import struct;print(8 * struct.calcsize('P'))")

# for dos batch examples see:
# https://github.com/timonwong/SublimeAStyleFormatter/blob/master/src/win_build_all.bat