Lines Matching refs:url
55 # It is recommended one does "import webbrowser" and uses webbrowser.open(url)
58 def open(url, new=0, autoraise=True):
61 if browser.open(url, new, autoraise):
65 def open_new(url):
66 return open(url, 1)
68 def open_new_tab(url):
69 return open(url, 2)
147 def open(self, url, new=0, autoraise=True):
150 def open_new(self, url):
151 return self.open(url, 1)
153 def open_new_tab(self, url):
154 return self.open(url, 2)
171 def open(self, url, new=0, autoraise=True):
172 cmdline = [self.name] + [arg.replace("%s", url)
188 def open(self, url, new=0, autoraise=True):
189 cmdline = [self.name] + [arg.replace("%s", url)
259 def open(self, url, new=0, autoraise=True):
273 args = [arg.replace("%s", url).replace("%action", action)
278 args = [arg.replace("%s", url) for arg in self.args]
351 def open(self, url, new=0, autoraise=True):
366 p = subprocess.Popen(["kfmclient", action, url],
378 p = subprocess.Popen(["konqueror", "--silent", url],
391 p = subprocess.Popen(["kfm", "-d", url],
439 def open(self, url, new=0, autoraise=True):
441 ok = self._remote("LOADNEW " + url)
443 ok = self._remote("LOAD " + url)
541 def open(self, url, new=0, autoraise=True):
543 os.startfile(url)
546 # file for this operation: '<URL>'
584 def open(self, url, new=0, autoraise=True):
585 assert "'" not in url
587 if not ':' in url:
588 url = 'file:'+url
594 script = 'open location "%s"' % url.replace('"', '%22') # opens in default browser
603 cmd = 'OpenURL "%s"' % url.replace('"', '%22')
621 def open(self, url, new=0, autoraise=True):
623 script = 'open location "%s"' % url.replace('"', '%22') # opens in default browser
630 '''%(self._name, url.replace('"', '%22'))
681 usage = """Usage: %s [-n | -t] url
698 url = args[0]
699 open(url, new_win)