On Saturday, 7 January 2017 16:37:37 GMT Ralph Corderoy wrote:
> OK, I don't get the detail, but here's the current on-the-quarter code.
>
> while quarter_rings > 0:
> os.system('mpg321 -g 100 -q ./mp3/Two_Chimes.mp3')
> time.sleep(interval)
> quarter_rings -= 1
>
>
Hi Terry,
> > > I want to run the MP3 Player inside the same program if possible.
>
> To make it easier to get the interaction between the bells and the
> music. For example, when we run the wedding sequence, we will first
> ring changes in the tower, then play the Wedding March followed by
>
Congratulations; you're a Javascript programmer. :-) I'm sure there
used to be a definition of that term somewhere, but perhaps it's been
sanitised. There's still
https://en.wikipedia.org/wiki/Copy_and_paste_programming
Excellent analysis of last line effect in reference in this:
On Saturday, 7 January 2017 16:12:49 GMT Ralph Corderoy wrote:
> > I want to run the MP3 Player inside the same program if possible.
>
> Any particular reason? This way, a problem with the player leaves your
> program unharmed, ready to try again later.
To make it easier to get the interaction
Hi Terry,
> I grabbed fragments of code off the internet and it just worked.
Congratulations; you're a Javascript programmer. :-) I'm sure there
used to be a definition of that term somewhere, but perhaps it's been
sanitised. There's still
On Saturday, 7 January 2017 15:51:25 GMT Terry Coles wrote:
> I got that far (except that I was using BackgroundScheduler). It was the
> syntax of the add_job that threw me. I've been playing around and now have:
>
> sched.add_job(hours, 'cron', hour='10')
>
> etc. I'm currently waiting for
On Saturday, 7 January 2017 15:19:05 GMT Ralph Corderoy wrote:
> Bits of Python you might find useful...
.
OK. Thanks. I'll look into those points.
> > Unfortunately, since then, apscheduler has been updated
In fact, as I've just discovered, it has been updated in
Hi,
Way back in September I asked for help to understand the documentation for
apscheduler. Help duly came and I got a program working to trigger functions
to rung
the bells every time an hour or a quarter hour arrived. This is what I ended
up with:
8 matches
Mail list logo