client = PhotoScan.NetworkClient()client.connect('127.0.0.2')batch = client.batchList()[0]print(batch["task"]["progress"])