First we go to the official website to download this editor. The location of the official website is as shown below
Click Geany- in the picture above Download 1.33_setup.exe. The size of the software is only 14.7 MB. It is a very lightweight editor. After the download is completed, double-click to install, and then proceed to next
. After the installation is completed, a shortcut icon will be generated. The next time you use it Just double-click the shortcut icon to open the Geany editor.
First we execute: Project-New; then set the name of the project and the save location of the project in the pop-up window:
Then we execute: File-Save As, name the blank file "hello" and save it to the project we just created.
Then we randomly output a line of code: "print("Hello Python world!")", and then F5 runs (you can also execute: generate-execute).
The above is the detailed content of Run python using geany. For more information, please follow other related articles on the PHP Chinese website!