While Pyret files can be edited online, most code is edited within a “Text Editor”. A Text Editor gives you a way of editing the raw text in a file. You will need to use a text editor for the second half of the course which will be in Python, and for a few exercises early in the course.
ctrl-alt-t
atom
then pressing enter
in the Terminal.Atom works like many other file editors; you make new files, edit them, and save them.
To make a new file, you can go to File > New File or press ctrl-n
(or cmd-n
on Mac). Save the file with File > Save
. If the question asks for a file called hello.txt
, make sure you write hello.txt
, not hello
in the Save As box.