Write short Python code on Sublime for the test and save iwth. Memorize or write down the location becuase you will need to input the loation in Sublime.Ģ) Click Tools > Build System > New Build System Sublime3 Tools sub-menuģ) With the new tab, input “untitled.sublime-build” and save /Library/Application Support/Sublime Text 3/Packages/UserĤ) If the file is properly saved, you will see the saved file on your Build System menu. Otherwise, if the ST3 data directory exists, use that. Sublime Text 4 chooses what data directory to use by: If the ST4 data directory exists, use that. Library/Frameworks/amework/Versions/3.7/bin/python3 Sublime Text 4 will use the same data directory as Sublime Text 3, so it will pickup exactly where you left off in version 3. If you want to start 3.x version, you have to register Python 3 on your new Build System.ġ) Find out where Python3 was installed on your terminal via using the following command: $ which python3 If you open Python 3.x on Sublime after the installtion, you will still see that the program runs 2.7 instead of the new version you just downloaded. Register Python 3.X in build system on Sublime You can download 3.x version via the following link to Python officail website. If you want to know what version does your Mac have, here’s how you can find out: $ python -version
Install Python 3Īs you’ve probably know, Python is generally installed in Mac. If you already have Python3 in your system, start reading part 2.
It is officially announced that Python3 2.x will be suspended for support.