MCPcopy Create free account
hub / github.com/geekcomputers/Python / Browser

Class Browser

Webbrowser/tk-browser.py:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10
11class Browser(Tk):
12 def __init__(self):
13 super(Browser, self).__init__()
14 self.title("Tk Browser")
15 try:
16 browser = tkinterweb.HtmlFrame(self)
17 browser.load_website("https://google.com")
18 browser.pack(fill="both", expand=True)
19 except Exception:
20 sys.exit()
21
22
23def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected