Skillshare intro to Python/Unit 1/OSX text editor: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Jesstess
No edit summary
imported>Jesstess
No edit summary
Line 1: Line 1:
[[File:Quill.png|100px]]

If you need help or have questions during installation, [[Skillshare intro to Python/Asking questions| don't hesitate to ask]]!

== Installing Smultron ==
== Installing Smultron ==



Revision as of 02:15, 3 June 2013

If you need help or have questions during installation, don't hesitate to ask!

Installing Smultron

On OSX, a good free text editor is Smultron.

To download and install Smultron:

To run Smultron:

  • Double-click the Smultron icon from your Dock.

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 press Tab to indent your code, and that indentation will actually be made of spaces. We do this because Python doesn't like it when we mix tabs and spaces.

Success!

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

« Back to the Unit 1 main page