I was a little confused about how find Python shell executing in 32bit or 64bit. After taking a walk by the Buskwick Inlet Park in NYC I decided to look into this.
I found a simple and quick way to find if my Python shell is executing in 32bit or 64bit. I’m using a macOS in this case, but this should work on any Linux distro.
These are the simple steps I took:
1. Started the Python interpreter
2. Ran the following:
import platform
platform.architecture()[0]
The above should display the following output:
'64bit' or '32bit'
