auto
ˆ
ƒ`_•I|¥‰ÓMdœv ©ƒ&íK<óo¬Äà Ü
Index of /FSS-BCZ/root/proc/thread-self/cwd/lib64/python3.9/sqlite3
Index of /FSS-BCZ/root/proc/thread-self/cwd/lib64/python3.9/sqlite3
ˆ
ƒM½¾Äà ²
Index of /FSS-BCZ/root/sys/class/tty/tty3/subsystem/tty57
Index of /FSS-BCZ/root/sys/class/tty/tty3/subsystem/tty57
$ ˆl–äY>”je¶…8 Cq–®4꘴oÂ
„M¼/ÁÅÄ ?÷ #! /usr/bin/python3.9
"""Interfaces for launching and remotely controlling Web browsers."""
# Maintained by Georg Brandl.
import os
import shlex
import shutil
import sys
import subprocess
import threading
__all__ = ["Error", "open", "open_new", "open_new_tab", "get", "register"]
class Error(Exception):
pass
_lock = threading.RLock()
_browsers = {} # Dictionary of available browser controllers
_tryorder = None # Preference order of available browsers
_os_preferred_browser = None # The preferred browser
def register(name, klass, instance=None, *, preferred=False):
"""Register a browser connector."""
with _lock:
if _tryorder is None:
register_standard_browsers()
_browsers[name.lower()] = [klass, instance]
# Preferred browsers go to the front of the list.
# Need to match to the default browser returned by xdg-settings, which
# may be of the form e.g. "firefox.desktop".
if preferr