
If text is selected a “Selection Based” is used instead of a “File Based” run Here is a list of all the ways to run scripts in Atom Command Result: Your new hotkey will run your script. I think cmd-l is a little easier.Ĭhange the letter after cmd to your preference. There are many ways to run a Python script, but the easiest way is to use hot keys.


Result: You can see the Python version in the console output.įor a more in depth video on this process, go here: Change Python 2 to Python 3 in Atom Change Script’s hotkeys Result: You’re now using Python 3 to run scripts in Atom Save the file by pressing cmd-s or File > Save. Under Selection Based and File Based type a ‘3’ after python. If you’ve downloaded Python 3, you can use Python 3 to run your scripts.Ĭlick Scripts > lib > Grammars > ffee. Script will use the default Python version on your Mac, which might Python 2. On a Mac the hotkey is cmd-iĬhange Python version Script uses to run Python Result: You can now run Python within Atom. The Script package allows you to run a variety of programming languages within Atom.Įxit the Settings windows after installing. Result: You are now familiar with the process for installing packages. Type the package name into the search bar. Install packages by following these steps: Installing packages are the heart of customizing and configuring Atom. Result: The default welcome window will not appear each time Atom is opened. To disable this feature, uncheck the Show welcome guide when opening Atom box.

Two welcome windows appear every time Atom is opened. Go to and follow the installation instructions. Provides a zoomed-out view of an entire fileįormats code base according to Pep 8 standards Gives word and syntax suggestions as you type To install Atom and begin customizing it for a Python on environment, you’ll need the following: In this How-To guide you will learn how to set up Atom on a Mac to make coding in Python easy and streamlined. A great text editor is at the core of writing and documenting good code. Set up Atom for a Python Programming EnvironmentĪtom is an open source text editor developed by engineers at GitHub.
