Download and install the latest version of Geany and also download and install Thonny
sudo apt install geany thonny
Both Thonny and Geany
Install thonny video
Install python and Geany video
Don’t copy paste from here as the quotes " “ are the wrong type. After you have installed Geany. Start Geany and type print(“hello world”) then save it as hello.py. Then goto the top menu under build -> set build commands. Near the bottom of the window in the command box to the right of Execute you should see python3 “%f” Make sure there is a 3 right after the word python. Also note that there is a space after python3. Then click OK.
Download and install the latest version of Geany for Mac OS with .dmg extension