python editor and compiler for mac code example
Example 1: best python ide
PyCharm - https://www.jetbrains.com/pycharm/ # Only for python
Visual Studio Code - https://code.visualstudio.com/ # Personally use and can work for tons of different languages (Highly Reccommend)
IDLE # default ide comes with python, its pretty good comes with python documentation
Example 2: best python ide
PyCharm
Visual Studio Code # Works better with the Python extension
Python IDLE