Can you close websites in Pythonista.
zhb last edited by
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.
brumm last edited by
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".
JonB last edited by
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.