+ 1
Hello. I want close black window(Like Command line) in Tkinter. Please help.
Tkinter
2 Respostas
+ 6
You can use the subprocess module for that and invoke the Windows command taskkill, like this
import subprocess
subprocess.call('taskkil /IM cmd.exe')
It should close the cmd.exe
+ 1
Thanks