Philadelphia Python Workshop/Setup/OSX text editor: Difference between revisions

imported>Abatula
imported>Abatula
Line 33:
=== Installation ===
 
* Go to the [http://www.activestate.com/komodo-edit/downloads downloads page] and click on the blue button that says "Download Komodo Edit 8.0.1 for LinuxMac OS X".
* Save the file to your desktop or downloads folder (or another convenient location).
* Double click on the file to extract it, then open the extracted folder.
* Drag the file Komodo Edit 8.app to the Applications folder (a shortcut to your computer's Applications folder)
* The official instructions are in the install.html file.
* To run Komodo Edit:
** If you are comfortable with using a command prompt you can follow those instructions to install the program.
** Search for Komodo Edit 8 in the Spotlight.
** Otherwise, open the INSTLLDIR folder, then open the bin folder. Double-click the file komodo to start the program.
** OR Start Finder, select Applications from the left menu, then find and double-click on Komodo Edit 8.
* If the program does not run, ask a staff member for assistance.
 
=== Setup ===
 
* OnceWith Komodo isas runningthe active window, click on EditKomodo in the top menu, then select Preferences.
* On the left-side menu, click on Editor to expand it, then click on Indentation
* In both Global Indentation Settings and Per Language Indentation Settings, make sure Prefer Tab characters over spaces is UNchecked, and make sure both fields for Number of spaces per indent and Width of each Tab character are 4.
* Click on OK. Now the editor should add four spaces instead of a tab character when you press the tab button.
* To open a file, click on the New File label in the lower right panel. Select Python (not Python3) from the menu and then click open.
* A new file should open with <code>#!/usr/bin/env python</code> as the first line. This is a comment, and can be deleted or ignored.
* If a new file doesn't open, ask a staff member for assistance.
 
 
 
== Success! ==
Anonymous user