Python Forum
A dynamically updating GUI screen from URL
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A dynamically updating GUI screen from URL
#21
s is defined on line 12, and it cease to exist once you exit the "with" statement. Moreover, you need to fix the indentation of lines 12-14, because they currently are at the same indentation level as the __init__ function, instead of belonging to "def __init__". I'm not really familiar with sockets, but since you need an http request, perhaps the request library might be easier to start with.
Reply


Messages In This Thread
RE: A dynamically updating GUI screen from URL - by Alfalfa - Apr-18-2019, 06:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  A dynamically updating screen for PyQt GUI from URL bescf 0 2,650 Mar-25-2019, 06:58 AM
Last Post: bescf

Forum Jump:

User Panel Messages

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