How do I change the file extension with TextEdit on osx?

I am teaching Python to the people I work with, and we are all mac users. I would like to be able to create files like hello.py or data.csv.

However, I do not see an option in TextEdit to save as a "plain text no-frills no-formatting non-rtf" file. When I select RTF but try to save with a .py or .csv extension, TextEdit will no do so.

Is there another text editor that comes with osx that I can use? Or, is there a way to coerce TextEdit to behave like Windows Notepad (when it comes to file extensions, etc?)

2 Answers

TextEdit has separate plain text and rich text modes. You'll have to select Format > Make Plain Text or set the default format to plain text first.

1

You can use the toggle command Shift + Command + T. This will turn rich text to plain text. Or plain text to rich text depending on which mode you are using currently. Another user has given the answer, I wanted to add the shortcut keys.

enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like