Skip to content
katychuang edited this page Oct 1, 2013 · 3 revisions

Our recommendation

On Mac OS, we suggest the Sublime Text editor. You'll have to first download it, then install it.

To download Sublime:

To install Sublime:
  • Start Finder
  • On the left side of the Finder, under "Places", click on "Applications".
  • Drag the Sublime icon to any blank space in that window.
To run Sublime:
  • Start Finder
  • On the left side of the Finder, under "Places", click on "Applications".
  • In the middle column, scroll down to to find Sublime.
  • Double-click Sublime to launch the editor.

Configure Sublime to indent with spaces

  • Start up Sublime, and click View -> Indentation -> Indent with spaces.
That's it! Now, you can hit tab to indent your code, and that indentation will actually be made of spaces. This change will help you use spaces consistently, so that Python doesn't get confused about whitespace.



Success!

Now you have an editor that you can use to open any text file, including Python programs.

If you prefer a different editor for text, check with an instructor before moving on to make sure it will work for the weekend.

« Back to laptop setup