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

Content added Content deleted
imported>Jesstess
(Created page with "== Our recommendation == On Windows, we suggest the Notepad++ text editor. It is actually unrelated to the Windows default program called Notepad. To install it: * Click an...")
 
imported>Jesstess
No edit summary
Line 1: Line 1:
== Our recommendation ==
== Installing Notepad++ ==


On Windows, we suggest the Notepad++ text editor. It is actually unrelated to the Windows default program called Notepad.
On Windows, a good free text editor is Notepad++. Note that this is unrelated to the Windows default program called Notepad!


To install it:
To install Notepad++:


* Click and download http://download.tuxfamily.org/notepadplus/5.9/npp.5.9.Installer.exe
* Click and download http://download.tuxfamily.org/notepadplus/6.3.3/npp.6.3.3.Installer.exe
* Run the installer, and follow the process to the end.
* Run the installer, and follow the process to the end.


Line 20: Line 20:
* Click Close.
* Click Close.


That's it! Now, you can hit tab to indent your code, and that indentation will actually be made of spaces. This change will help you use spaces consistently, so that Python doesn't get confused about whitespace.
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! ==
== Success! ==
Line 26: Line 26:
Now you have an editor that you can use to open any text file, including Python programs.
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 have 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]]
[[Skillshare intro to Python/Unit 1|« Back to the Unit 1 main page]]