Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def browseto(url, background = False):
    if background:
        cmd = subprocess.call
    else:
        cmd = subprocess.Popen
    cmd([os.environ["BROWSER"], url])
        


src/u/r/urlscan-git-HEAD/modules/urlscan/urlchoose.py   urlscan-git(Download)
def mkbrowseto(url, background):
    return lambda *args:browser.browseto(url, background)
 
# Based on urwid examples.
class URLChooser: