To get familiar with PyCharm, print “Hello, World!” by typing it in the code editor. You can also copy and paste this code:
print("Hello, world!")
To run the code, press the green triangle icon at the top-left of your code editor.
PyCharm will automatically save your file when your program is run, but you can save periodically by pressing CTRL + S on your keyboard.
Note: If you have been working on multiple files, using this button may run a different file, even if you don’t have it open. Always check that the name of the file next to the green “run” icon is the name of the file that you want to run.
If you are having trouble running the correct file, another way is to right-click inside the coding area and run the selected file.
In the next step, you will learn how to run a Python program with the CoDrone EDU library.