How To Download And Run Python On Mac

Type in the name of the script to run it. For this tutorial, it is going to be python./; NB: Most Mac computers come preinstalled with python 2 and 3. If this is the case, you should always use python3 How to run a python script on Linux. Create a dedicated folder which is going to store your python scripts and programs. Click the appropriate link for your version of OS X: Python 3.3.4 Mac OS X 64-bit/32-bit x86-64/i386 Installer for 32-bit or 64-bit versions on the Intel processor. Note that the Apple-supplied Python on 10.6 (Snow Leopard) prefers to run 64-bit (it's 32-bit/64-bit universal). There are other pitfalls, too. For a while in the mysql 5.1.x series, the OS X tarballs packaged by mysql were faulty (claimed to be universal but weren't). The data base adapter for Python, MySQLdb, has had its own issues. On the version-specific download pages, you should see a link to both the downloadable file and a detached signature file. Hp scanjet g4050 download mac. To verify the authenticity of the. This guide will show you how to run a Python script in the Mac Terminal (command line) in either Mac OS X or MacOS.

Go to: Na-Rae Han's home pageHow to download and run python on mac download

How To Download And Run Python On Mac Free

Python 3 Notes

[ HOME LING 1330/2330 ]

Installing Python 3 on a Mac

<< Previous Note Next Note >>


  • Head to Click 'Downloads', then download the latest version from there:

    This downloads the 64-bit version of the latest Python release (3.8.5 as of August 2020).
    • Alternatively, if you start from the release page such as, you should scroll all the way to the bottom and choose 'macOS 64-bit installer', for OS X 10.9 and later. See screenshot here.
    • NOTE: If your Mac's OS version is older than 10.9 (year 2013), I recommend upgrading your OS first. If you are unable to, see this FAQ for how to install Python on an older version of Mac OS.
  • Proceed with installation. If everything goes fine, you should see an IDLE shortcut in your Launchpad.
  • Go ahead and try it out! Video tutorial here.

Should I Re-install?

If you already have a working version of Python on your laptop, you might be wondering if it is OK to keep it or you should re-install. The run-down:
  • Already have Python 3 but older version
    If you previously installed an earlier version of Python 3 (say, 3.3.1 or something), then you should either update it or simply un-install it and then install the newest version of Python 3. That way, you can make sure you are working in the exactly same setup with the rest of the class, which just might save you some headache stemming from a configuration unique to your machine.
  • I have Anaconda Python
    That works too! Make sure to update it to the latest 3.X version. There is one caveat: in LING 1330/2330, we will be using the interpretive shell interface via IDLE rather than Jupyter Notebook you probably have been using. This is how you launch IDLE for Anaconda Python:
    1. Open up a Terminal.
    2. Type in idle3 &, followed by ENTER. ('&' keeps Terminal usable while IDLE window is open.)