pip install CTK-ColorCTK_Color(text_box name,text,tag,Color to be applied)This code contains demo.py file in which the code
It provide color to the text in textbox untill you press enter or specify the end of the sentence in the code
from CTK_Color import CTK_Color
import customtkinter as ctk
win=ctk.CTk()
text=ctk.CTkTextbox(win)
text.pack()
CTK_Color(text,"box","big","red").for_line()
win.mainloop()from CTK_Color import CTK_Color
import customtkinter as ctk
win=ctk.CTk()
text=ctk.CTkTextbox(win)
text.pack()
CTK_Color(text,"for","bal","red").for_word()
CTK_Color(text,"print","edit","orange").for_word()
CTK_Color(text,"while","gang","blue").for_word()
CTK_Color(text,"boxer","baler","green").for_word()
win.mainloop()

