import platform


def getSystemBitness() -> int:
	"""
	Solution adapted from
	https://stackoverflow.com/questions/2208828/detect-64bit-os-windows-in-python
	"""
	machine = platform.machine()
	if machine.endswith('64'):
		return 64
	else:
		return 32