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
如何等到设备安装?