Re: Problems with scp script in Python

2017-02-13 Thread Steve D'Aprano
On Mon, 13 Feb 2017 11:17 pm, jhlo...@gmail.com wrote: > I have an SCP script that auto completes just fine from the terminal > window in Pi.  When I use either subprocess or os to try and have it run > under Python it does not do the file transfer from Pi to my Ubuntu > machine.  What am I doing

Re: Problems with scp script in Python

2017-02-13 Thread Michael Torrie
On 2017-02-13 05:17 AM, jhlo...@gmail.com wrote: I have an SCP script that auto completes just fine from the terminal window in Pi. When I use either subprocess or os to try and have it run under Python it does not do the file transfer from Pi to my Ubuntu machine. What am I doing wrong? He

RE: Problems with scp script in Python

2017-02-13 Thread Joaquin Alzola
>I have an SCP script that auto completes just fine from the terminal window in >Pi. When I use either subprocess or os to try and have it run under Python it >does not do the file >transfer from Pi to my Ubuntu machine. What am I doing >wrong? Here is the script: >from subprocess import cal