Looking at the pre-packaged scripts which were delivered with the version 21 update, I found it a bit odd that the timer switch was not provided in both lua and python. I took it upon myself to convert (with a few minor changes) the script to python as a result. [I also looked into translating the clock-source script, but given the nature of that script, I believe this would currently be too much of a resource drag.]
Please note that currently the resource uploader does not recognize ".py" as a valid upload format; as a result, I have uploaded the script as ".py.txt" instead. You will need to rename this script file after downloading.
Please note that currently the resource uploader does not recognize ".py" as a valid upload format; as a result, I have uploaded the script as ".py.txt" instead. You will need to rename this script file after downloading.