IDE: PYCharm is the current leading IDE

  • Pycharm is available as a community free version and a professional paid version.

You can also use the official Python version, which is not a permanent development solution. Python is very simple to run, requiring only the text ➕ interpreter

  • The Python language runs on multiple platforms, including Windows /OSX/ Linux, and Pycharm

,

Install Python on a Mac

  • Download it from the official website and install it directly. The latest version is 3.9

Mac terminals run the Python interpreter

1. If you enter Python on the Mac terminal, the default version, usually Python 2.7, is displayed

If you have the latest version installed, type Python3 on a MAC terminal to open Python3.9 directly

M10 $python python 2.7.16 (default, Nov 9 2019, >>> exit() linzhenunde:~ m10$python3 Python 3.9.4 (v3.9.4:1f2e3088F3, Apr 4 2021, 12:32:44) [Clang 6.0 (clang-600.0.57)] on Darwin Type "help", "copyright", "credits" or "license" for more information. >>>Copy the code

Mac terminal runs Python files

Sublime text editing tool Sublime can use the plugin plugin feature to add many useful plug-ins.