packages/vaex-core/vaex/utils.py
def os_open(document):
    """Open document by the default handler of the OS, could be a url opened by a browser, a text file by an editor etc"""
    osname = platform.system().lower()
    if osname == "darwin":
        os.system("open \"" + document + "\"")
    if osname == "linux":
        cmd = "xdg-open \"" + document + "\"&"
        os.system(cmd)
    if osname == "windows":
        os.system("start \"" + document + "\"")
def os_open(document):
    """Open document by the default handler of the OS, could be a url opened by a browser, a text file by an editor etc"""
    osname = platform.system().lower()
    if osname == "darwin":
        os.system("open \"" + document + "\"")
    if osname == "linux":
        cmd = "xdg-open \"" + document + "\"&"
        os.system(cmd)
    if osname == "windows":
        os.system("start \"" + document + "\"")
def os_open ( document ) : osname = platform . system ( ) . lower ( ) if osname == "darwin" : os . system ( "open \"" + document + "\"" ) if osname == "linux" : cmd = "xdg-open \"" + document + "\"&" os . system ( cmd ) if osname == "windows" : os . system ( "start \"" + document + "\"" )
Open document by the default handler of the OS, could be a url opened by a browser, a text file by an editor etc
Open document by the default handler of the OS could be a url opened by a browser a text file by an editor etc