On 19Aug2017 06:13, kay Cee <[email protected]> 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 <[email protected]> (formerly [email protected])
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor