Can you close websites in Pythonista.
-
Hey so I know how to open sites by importing webbrowser but it won’t let you close sites. Does anyone know how to close an already open site.
-
Why do you want to close a site? Typically you close the app, change a site or stop loading...
Here you find a small example look for "Webbrowser".
-
If you look at the source code for pythonista s webbrowser module, it is based on UI.WebView. use a webview, which has a close method.