Boston Python Workshop 8/Friday/Linux text editor: Difference between revisions

no edit summary
imported>Jesstess
(Created page with "== How to find gedit in the Applications list == On Linux, we suggest the GEdit text editor. GEdit should already be installed on your computer. To start GEdit: click Appli...")
 
imported>Jesstess
No edit summary
 
Line 1:
__NOTOC__
== How to find gedit in the Applications list ==
 
[[File:Quill.png|100px]]
On Linux, we suggest the GEdit text editor.
 
We need a good text editor for writing code. Fortunately, Linux comes with a great text editor call GEdit!
GEdit should already be installed on your computer. To start GEdit: click Applications, point to Accessories, and click Text Editor. If you don't have this option, let a staff member know.
 
== How to findStart GEdit from a terminal ==
 
GEdit should already be installed on your computer.
If you prefer to start applications from a terminal, you can type the following into a terminal to launch GEdit:
 
GEdit should already be installed on your computer. To startStart GEdit: click Applications, point to Accessories, and click Text Editor. If you don't have this option, let a staff member know.
<pre>
gedit &
</pre>
 
== Configure gedit to indent with spaces ==
Line 22 ⟶ 20:
* Click Close.
 
That's it! Now, you can hit tab 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! ==
 
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.
 
[[File:Champagne.png|100px]][[File:Party.png|125px]]
 
[[Boston Python Workshop 8/Friday|&laquo; Back to the Friday setup page]]
Anonymous user