Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help wth web page question
#3
Thanks

With respect to your solution, I don't want any user input from a keyboard or elsewhere. basically what is happening is this. I have a small radio receiving device that is receiving the frequency of a radio station periodically sent from another microcontroller. This frequency will be put in a variable 'A'.
The program takes the frequency in A and loads a webpage showing radio stations on that frequency. The frequency is part of the url.

So what I need to do is load the webpage and periodically check the variable A. When A changes then the web page needs to be closed down and a new web page loaded.

I can load the webpage using

import webbrowser

webbrowser.open(A)

but I need a quick and simple way to close it down to I can load another web page.

cheers Peter

Thanks
Reply


Messages In This Thread
Help wth web page question - by pberrett - Aug-28-2017, 09:00 AM
RE: Help wth web page question - by BerlingSwe - Aug-28-2017, 02:30 PM
RE: Help wth web page question - by pberrett - Aug-31-2017, 12:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  use Xpath in Python :: libxml2 for a page-to-page skip-setting apollo 2 3,662 Mar-19-2020, 06:13 PM
Last Post: apollo

Forum Jump:

User Panel Messages

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