Boston Python Workshop 5/Friday/OSX text editor

From OpenHatch wiki

Now this got me thinking, what about a REAL AR asmornoty app. Could be useful for students anyway.They could hold up the cell phone to look at the real sky, it would see the stars, and draw constellations over them! Obviously using image recognition, and maybe other locational info.Maybe it could also zoom in by displaying pictures from the internet, taken from various directions in the sky. Like a Hubble picture of the various planets you might zoom into.Now that would be cool!

If you run into trouble with Smultron

If you can't run the version of Smultron we recommend, try the older version 3.1.2 of Smultron. We've tested that it runs properly on Mac OS 10.4 on PowerPC and Intel.

Configure Smultron to indent with spaces

  • Start up Smultron, and click Smultron -> Preferences. This will pop up a preferences window.
  • Click on the Advanced tab, and then on the Really Advanced tab within that tab.
  • Check the "Indent with spaces, not tabs" checkbox
  • Close the Preferences window.

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.


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 the Friday setup page