

If you want more tutorials like this tell me what here.įull Code: import sys v=sys.version() if "2.7" in v: from Tkinter import * import tkFileDialog elif "3.3" in v or "3.4" in v: from tkinter import * import tkinter.tkFileDialog root=Tk("Text Editor") text=Text(root) id() def saveas(): global text t = text.get("1.0", "end-1c") savelocation=tkFileDialog.asksaveasfilename() file1=open(savelocation, "w+") file1.write(t) file1.close() button=Button(root, text="Save", command=saveas) id() def FontHelvetica(): global text nfig(font="Helvetica") def FontCourier(): global text nfig(font="Courier") font=Menubutton(root, text="Font") id() nu=Menu(font, tearoff=0) font=nu Helvetica=IntVar() arial=IntVar() times=IntVar() Courier=IntVar() _checkbutton(label="Courier", variable=Courier, command=FontCourier) _checkbutton(label="Helvetica", variable=helvetica, command=FontHelvetica) root. Basic Text Editor is a very simple application that reads and writes text files.

UltraEdit is feature-rich, and all of it is well done. I would say it is perfect for when you sporadically need to view or edit text documents and is very easy to use for novice users. It has syntax coloring, line numbers and opens multiple files in a one-window mode. Theres Notepad++ mac, Sublime Text 3 and many other.
#BASIC TEXT EDITOR MAC CODE#
There are also web based and independant text editors including Notepad++, Sublime Text, Atom Text Editor for users who are looking for more advanced code editing.
#BASIC TEXT EDITOR MAC SOFTWARE#
There are developers that cram as many features as they can into their software and end up with half-baked (and buggy) results. Use the following steps to change the file type: Windows - Click the 'Save as type' drop-down box, click All Files, and then type. Tincta is a free lightweight plain text editor for Mac. There are many text editors including native apps such as Microsoft Notepad (Windows), TXT (Chrome OS) and TextEdit (Mac OS).
#BASIC TEXT EDITOR MAC HOW TO#
How to open, edit, and convert documents.

You can also save your documents in a different format, so they’re compatible with other apps. Explore the best 16 Code Editors for programmers. With TextEdit, you can open and edit rich text documents created in other word processing apps, including Microsoft Word and OpenOffice. Code editors are the fundamental part of a programmer which helps them to write a clean & efficient code. It does everything well, and it does a lot of everything. Convert rich text documents to other formats. Under the last line you added, add this: def FontHelvetica(): global text nfig(font="Helvetica") def FontCourier(): global text nfig(font="Courier") font=Menubutton(root, text="Font") id() nu=Menu(font, tearoff=0) font=nu helvetica=IntVar() courier=IntVar() _checkbutton(label="Courier", variable=courier, command=FontCourier) _checkbutton(label="Helvetica", variable=helvetica, command=FontHelvetica)Ĭongratulations! You have finished a very simple text editor. UltraEdit is like the Bugatti of text editors in a world awash with Fords and Chevys.
