how do you run code in atom code example

Example 1: how to run python in atom

# When you are in atom, Go to > File > settings (Or press Ctrl + comma if u are a window user)and select "install" Or just press Ctrl + Shift + P and type "View installed packages" and select the correct one from the drop down list. From there, Look at the left pane of the screen click Install.

Example 2: how can I run atom?

Click on Packages --> Commmand Palette --> Select Toggle.
Type Install Packages and Themes.
Search for Script and then install it.
Press Command + I to run the code (on Mac)