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

Content added Content deleted
imported>Abatula
mNo edit summary
imported>Abatula
No edit summary
Line 43: Line 43:
# 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.
# 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.
# 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. Select Python (not Python3) from the menu.
# 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.


== GEdit ==
== GEdit ==