Jump to content

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

no edit summary
imported>Jesstess
No edit summary
imported>Jesstess
No edit summary
Line 3:
On OSX, a good free text editor is Smultron.
 
DownloadTo download and install Smultron:
 
* Click [and download http://downloads.sourceforge.net/project/smultron/smultron/3.5.1/Smultron-3.5.1.zip this link and download the ZIP file]
* Open the downloaded file from your Downloads directory or the Download bar in your web browser
* The ZIP file will expand into an application called Smultron.
* Drag the icon (it looks like a top-down view of a tomato) to your Dock for easy access
* Open Finder from the bar at the bottom.
 
To install Smultron:
 
* Start Finder
* On the left side of the Finder, under "Places", click on "Applications".
* Drag the Smultron icon to any blank space in that window.
 
To run Smultron:
 
* Double-click the Smultron toicon launchfrom theyour editorDock.
* Start Finder
* On the left side of the Finder, under "Places", click on "Applications".
* In the middle column, scroll down to to find Smultron.
* Double-click Smultron to launch the editor.
 
== If you run into trouble with Smultron ==
 
If you can't run the version of Smultron we recommend, try the older version [http://voxel.dl.sourceforge.net/project/smultron/smultron/3.1.2/Smultron-3.1.2.zip 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 ==
Line 33 ⟶ 20:
* Close the Preferences window.
 
That's it! Now, you can hitpress tabTab to indent your code, and that indentation will actually be made of spaces. ThisWe changedo willthis helpbecause youPython usedoesn't spaceslike consistently,it sowhen thatwe Pythonmix doesn'ttabs getand confused about whitespacespaces.
== Success! ==
Line 39 ⟶ 26:
Now you have an editor that you can use to open any text file, including Python programs.
 
[[File:Champagne.png|100px]][[File:Party.png|125px]]
If you prefer a different editor for text, check with an instructor before moving on to make sure it will work for the weekend.
 
[[Skillshare intro to Python/Unit 1|« Back to the Unit 1 main page]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.