Re: question about making an App for Android

2019-10-15 Thread Cousin Stanley
Cousin Stanley wrote: > There is also a useful python package > called sunset which I fouund a reference to > on stackoverflow Maybe I'll wake up some time today :-) The python package is called suntime not sunset # pip3 show suntime -- Stanley C. Kitching Human Being Ph

Re: question about making an App for Android

2019-10-15 Thread Cousin Stanley
Cousin Stanley wrote: > > d_sse = sse_sunset - sse_sunrise # seconds of daylight > I think it might be required to convert utc time to local time for the difference in sunrise and sunset times to make sense in local time -- Stanley C. Kitching Human Being Phoenix, A

Re: question about making an App for Android

2019-10-15 Thread Cousin Stanley
Chris Angelico wrote: > Or maybe it's really simple, because there's an HTTP API >that > gives you the information. > > There's an API for everything these days. > > A quick web search showed up this: > > https://sunrise-sunset.org/api > There is also a useful python package c

Re: question about making an App for Android

2019-10-12 Thread pyotr filipivich
Dennis Lee Bieber on Sat, 12 Oct 2019 12:26:43 -0400 typed in comp.lang.python the following: >On Fri, 11 Oct 2019 20:41:47 -0700, pyotr filipivich >declaimed the following: > > >> I've been hacking around with what needs to be computed. As in >>"okay,the orbits have different speed at dif

Re: question about making an App for Android

2019-10-11 Thread pyotr filipivich
Dennis Lee Bieber on Fri, 11 Oct 2019 20:05:03 -0400 typed in comp.lang.python the following: > >* To support my practically unused 8" SCT {especially in cloudy Michigan}{I >also need to find some sort of battery holders that will fit the fork arms >-- the originals have cracked at the ends and d

Re: question about making an App for Android

2019-10-11 Thread Eli the Bearded
In comp.lang.python, Dennis Lee Bieber wrote: > pyotr filipivich declaimed the following: >> "A simple program" to divide the amount of "today's" daylight into 12 >> even '"hours", so that Dawn begins the First hour, the third hour is >> mid-morning, noon is the middle of the day, the ninth hour

Re: question about making an App for Android

2019-10-11 Thread Akkana Peck
> pyotr filipivich > >"A simple program" to divide the amount of "today's" daylight into 12 > >even '"hours", so that Dawn begins the First hour, the third hour is > >mid-morning, noon is the middle of the day, the ninth hour mid after > >noon, and the twelfth hour ends at sunset. Is simple, no?

Re: question about making an App for Android

2019-10-11 Thread pyotr filipivich
Chris Angelico on Fri, 11 Oct 2019 10:43:53 +1100 typed in comp.lang.python the following: >On Fri, Oct 11, 2019 at 10:40 AM pyotr filipivich wrote: >> Chris Angelico on Fri, 11 Oct 2019 09:49:03 +1100 >> typed in comp.lang.python the following: >> >On Fri, Oct 11, 2019 at 9:41 AM Dennis Lee B

Re: question about making an App for Android

2019-10-10 Thread Chris Angelico
On Fri, Oct 11, 2019 at 10:40 AM pyotr filipivich wrote: > > Chris Angelico on Fri, 11 Oct 2019 09:49:03 +1100 > typed in comp.lang.python the following: > >On Fri, Oct 11, 2019 at 9:41 AM Dennis Lee Bieber > >wrote: > >> > >> On Thu, 10 Oct 2019 08:47:07 -0700, pyotr filipivich > >> declaime

Re: question about making an App for Android

2019-10-10 Thread pyotr filipivich
Chris Angelico on Fri, 11 Oct 2019 09:49:03 +1100 typed in comp.lang.python the following: >On Fri, Oct 11, 2019 at 9:41 AM Dennis Lee Bieber >wrote: >> >> On Thu, 10 Oct 2019 08:47:07 -0700, pyotr filipivich >> declaimed the following: >> >"A simple program" to divide the amount of "today's"

Re: question about making an App for Android

2019-10-10 Thread pyotr filipivich
Dennis Lee Bieber on Thu, 10 Oct 2019 18:39:55 -0400 typed in comp.lang.python the following: >On Thu, 10 Oct 2019 08:47:07 -0700, pyotr filipivich >declaimed the following: > > >>"A simple program" to divide the amount of "today's" daylight into 12 >>even '"hours", so that Dawn begins the First

Re: question about making an App for Android

2019-10-10 Thread Chris Angelico
On Fri, Oct 11, 2019 at 9:41 AM Dennis Lee Bieber wrote: > > On Thu, 10 Oct 2019 08:47:07 -0700, pyotr filipivich > declaimed the following: > > > >"A simple program" to divide the amount of "today's" daylight into 12 > >even '"hours", so that Dawn begins the First hour, the third hour is > >mid-

Re: question about making an App for Android

2019-10-10 Thread Michael Torrie
On 10/10/19 9:47 AM, pyotr filipivich wrote: > What I want is a "simple" program to calculate and display the > "natural time", and do so on my phone. > > "A simple program" to divide the amount of "today's" daylight into 12 > even '"hours", so that Dawn begins the First hour, the third hour is >

Re: question about making an App for Android

2019-10-10 Thread Terry Reedy
On 10/10/2019 11:47 AM, pyotr filipivich wrote: What I want is a "simple" program to calculate and display the "natural time", and do so on my phone. "A simple program" to divide the amount of "today's" daylight into 12 even '"hours", so that Dawn begins the First hour, the third hour is mid-mor

question about making an App for Android

2019-10-10 Thread pyotr filipivich
What I want is a "simple" program to calculate and display the "natural time", and do so on my phone. "A simple program" to divide the amount of "today's" daylight into 12 even '"hours", so that Dawn begins the First hour, the third hour is mid-morning, noon is the middle of the day, the ninth hou