install python 64 bit code example

Example 1: check 32 or 64 bit python

import sys
sys.maxsize > 2**32 
# it should display True in case of 64bit and False in case of 32bit

Example 2: python 64 bit

# Latest stable release
windows = "https://www.python.org/ftp/python/3.9.4/python-3.9.4-amd64.exe"
macOS = "https://www.python.org/ftp/python/3.9.4/python-3.9.4-macos11.pkg"

Example 3: download python

Step 1: Download Python newest version from

 https://www.python.org/downloads/

Step 2:Install Python
Step 3:Download Pycharm Community free version
Step 4:Install and open Pycharm
Step 5:Write print("Hello New World")
  //Hurray you are about to start python

Example 4: latest version of python

# For macs... 
#  Apparently you don't want to upgrade 2.* just install 3.*

% brew install python3

Example 5: python latest version 64 bit

latest python version can be found on this website: https://www.python.org/downloads/