Mini Project 23e23e
Mini Project 23e23e
Submitted by :
Lavish Kumar 2104710100026
Gaurav Rawat 2104710100016
Chaudhary Alisha 2104710100014
Shubham Singh 2104710100055
Harsh Varlani 2104710100021
Language: Python
Basic Explanation
Text Editor: A text editor is a type of program used
for editing ng plain text file. They’re often used to create
complex code for websites; read, create, and edit source
code; or build text files.
Software Used:
Notepad: Notepad is a generic text editor included with
all versions of Microsoft Windows that lets you create,
open, and read plaintext files with a .txt file extension. If
the file contains special formatting or is not a plaintext
file, it cannot be read in Notepad. The image shown here
is a small example of what the Notepad may look like
while running.
def delete_text():
text_editor.delete("sel.first", "sel.last")
def change_theme():
current_theme = theme_var.get() if
current_theme == "Light":
text_editor.config(bg="white", fg="black")
theme_var.set("Dark") else:
text_editor.config(bg="black", fg="white")
theme_var.set("Light")
change_theme() window.mainloop()
Snapshots: