Python Forum
Gtk3, grab output of python into dialogue?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gtk3, grab output of python into dialogue?
#1
Hey there,
not sure if i post at the right place.

I use google_images_download (available via pip) to get images from Google.
I wanna put the output into a Gtk3+ dialogue or better something like a popup, if something like this is available in Gtk3+.
But how can I grab the ouput of the following lines, where the last one is the line which gives me the following output
species = self.builder.get_object('Tbo_Species').get_text()
arguments = {"keywords":species,"limit":5,"size":"large"}
paths = response.download(arguments)
Output:
Item no.: 1 --> Item name = Blaukehlchen Evaluating... Starting Download... Completed Image ====> 1. maxresdefault.jpg Completed Image ====> 2. blaukelch.jpg Completed Image ====> 3. image.jpg Completed Image ====> 4. image.jpg Completed Image ====> 5. maxresdefault.jpg Errors: 0
The output does not appear at one time, but each line is coming after the other, and I want it to be print like it appears in the stacktrace, so to say a live view of the commands progress.
Best Wishes,
TimeMen
Reply


Forum Jump:

User Panel Messages

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