Tkcode Magic

TKCODE Tutorial

Type in your terminal:

py -m pip install tkcode
view raw .bat hosted with ❀ by GitHub

Example:

from tkcode import CodeEditor
from tkinter import *
app = Tk()
editor = CodeEditor(app,
language="python",
hilighter="dracula",
height=200,
width=200,
font=("Cascadia Code", 13),
bg="black"
)
editor.pack()
#You Can add tabs like file edit help view using Menu()
#You can add a run button using os that using os.startfile(filename)
app.mainloop()
view raw tkcode.py hosted with ❀ by GitHub

Comments

Popular posts from this blog

A tip for html

A TIP#3