0
我必須掛載一個WebDav位置,然後等待操作完成後才能繼續(這是一個腳本)。 所以我使用該庫以這樣的方式python gio等待異步操作完成
location = gio.File("dav://server.bb")
location.mount_enclosing_volume(*args,**kw) # The setup is not much relevant
location.get_path() # Returns None because it's not yet mounted since the call is async
如何等到設備安裝?