elapsed_time=0
for i in range(10):
t = time.process_time()
- proc=subprocess.Popen("scp lena4.jpg bilbo:/tmp", shell=True)
+ proc=subprocess.Popen("scp lena4.jpg bilbo.iut-bm.univ-fcomte.fr:/tmp", shell=True)
proc.wait()
elapsed_time += time.process_time() - t
elapsed_time=0
for i in range(10):
t = time.process_time()
- proc=subprocess.Popen("scp lena5.jpg bilbo:/tmp", shell=True)
+ proc=subprocess.Popen("scp lena5.jpg bilbo.iut-bm.univ-fcomte.fr:/tmp", shell=True)
proc.wait()
elapsed_time += time.process_time() - t