Python Forum
[Tkinter] output to canvas widget
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] output to canvas widget
#2
"0" means that the "dir"-command was processed successfully.
You could use check_output():


       output=subprocess.check_output(["dir", "c:"], shell=True)
Reply


Messages In This Thread
output to canvas widget - by freakbot - Dec-01-2016, 06:18 AM
RE: output to canvas widget - by heiner55 - Dec-01-2016, 07:00 AM
RE: output to canvas widget - by Larz60+ - Dec-01-2016, 12:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] canvas widget scroll issue chrisdb 2 3,938 Apr-07-2021, 05:48 AM
Last Post: chrisdb
  [Tkinter] How to erase previous output from the canvas? Pedroski55 4 4,587 Jul-05-2020, 10:25 PM
Last Post: Pedroski55
  How to place global tk text widget in class or on canvas puje 1 2,377 Jul-04-2020, 09:25 AM
Last Post: deanhystad
  The coordinates of the Entry widget (canvas) when moving berckut72 8 6,097 Jan-07-2020, 09:26 AM
Last Post: berckut72
  [Tkinter] Resizing image inside Canvas (with Canvas' resize) Gupi 2 25,191 Jun-04-2019, 05:05 AM
Last Post: Gupi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020