On 19Aug2017 06:13, kay Cee <une...@gmail.com> wrote:
           update_log = open('update_log.txt', 'r+')

Normally one would use 'a' (append) for a log open. I don't see what 'r+' accomplishes for you. In particular I expect it would always write at the start of the log file, overwriting whatever was there. Which might be your problem.

Others have made other remarks.

I'm not sure any of your problems have to do with the subprocess module itself.

Cheers,
Cameron Simpson <c...@cskk.id.au> (formerly c...@zip.com.au)
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to