Embed console or show console output in the GUI #623
Beelzebub2
started this conversation in
Ideas
Replies: 4 comments 8 replies
|
@Beelzebub-uwu you might be looking for something like this. |
2 replies
|
@Beelzebub-uwu Consider marking this as answer if it helped. :) |
5 replies
|
@Beelzebub-uwu Here is the example you need: Codeimport customtkinter
from tkterminal import Terminal
def run_command():
terminal.run_command("python --version")
root = customtkinter.CTk()
root.geometry("400x250")
terminal = Terminal(root, height=10, background="black", foreground="white",
relief="flat", width=45, pady=5, padx=5)
terminal.grid(padx=12, pady=10)
button = customtkinter.CTkButton(root, text="Check Python version", command=run_command).grid()
root.mainloop()Please refer the documentation of tkterminal |
1 reply
|
PyTkTerm implements a full terminal inside a tkinter |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
is it possible to have a small console embedded in the GUI?
All reactions