@PiOfThings, you still can go for an encapsulation... call it what ever WatchLog (singleton) or watchLog and let that be your object to talk to your python downloader... and in there, you hold on to the file handle... - I'd like to see the encapsulation obsession draw back... - m
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@PiOfThings, you still can go for an encapsulation... call it what ever WatchLog (singleton) or watchLog and let that be your object to talk to your python downloader... and in there, you hold on to the file handle... - I'd like to see the encapsulation obsession draw back... - m