Ask Your Question

Revision history [back]

Use a text editor. If you use Visual Code Studio, I suggest choosing Python for the language for the file, and then when you save it, call it "whatever.sage". If you use TextEdit, then choose the "plain text" format when editing, in which case it will automatically get a ".txt" extension when you save it. You can then rename it using the Terminal, or from the Finder, select the file and from the File menu, choose "Get Info". There will be a box for "Name & Extension", and you can remove the ".txt" extension using that.

You can also use Emacs or VIM, maybe BBEdit (although I haven't used that in years). Maybe Sublime Text (although it's not free).

Use a text editor. If you use Visual Code Studio, I suggest choosing Python for the language for the file, and then when you save it, call it "whatever.sage". If you use TextEdit, then choose the "plain text" format when editing, in which case it will automatically get a ".txt" extension when you save it. You can then rename it using the Terminal, or from the Finder, select the file and from the File menu, choose "Get Info". There will be a box for "Name & Extension", and you can remove the ".txt" extension using that.

You can also use Emacs or VIM, maybe BBEdit (although I haven't used that in years). Maybe Sublime Text (although it's not free).free). <flamewar>Emacs is of course the best.</flamewar>