Wait until task is completed on Remote Machine through Python
问题 I am writing a program in python on Ubuntu. In that program I am trying to print a message after completing a task "Delete a File" on Remote machine (RaspberryPi), connected to network. But In actual practice, print command is not waiting till completion of task on remote machine. Can anybody guide me on how do I do that? My Coding is given below import paramiko # Connection with remote machine client = paramiko.SSHClient() client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client