There are a couple of ways to check whether 64 bits or 32 bits Python is installed on the machine. Try out one of the following approaches highlighted in bold:
[root@root]$ pythonPython 2.7.5 (default, Nov 6 2016, 00:28:07)[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import struct; print struct.calcsize("P") * 864>>> import platform>>> print(platform.architecture()[0])64bit