Python paramiko script, problems reading output during exec_command()
Background : I am using python and paramiko to automate the process I go through everytime I have to hand in a program for a class. We use a command called "handin" to submit source code, but this must be done from a school computer. So when I submit code from home, I have to: sftp into school servers, put the files in a dir, ssh into school computer, use 'handin' command I can successfully put files onto the school machines. The problem occurs when I try to use exec_command('handin my files') and then read the output to determine the next action. so I have try: (stdin, stdout, stderr) =