-
Python version and 64bit/32bit check in pythonComputer/Programming 2018. 7. 12. 11:04
python version check
import platform print(platform.python_version())
python 64bit or 32bit check
import struct print struct.calcsize("P") * 8
python version check
import platform print(platform.python_version())
python 64bit or 32bit check
import struct print struct.calcsize("P") * 8