calculate diff between dates

2022-07-12 Thread נתי שטרן
code: @app.route("/hosts/last_seen") def hst(): #F1=falconpy #rr=struct_time() #rr.tm_hour=23 #F= falconpy.APIHarness(client_id=client_id,client_secret=secret) #id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3'] #response =

Re: calculate diff between dates

2022-07-12 Thread 2QdxY4RzWzUUiLuE
On 2022-07-12 at 15:37:55 +0300, נתי שטרן wrote: > I glad for any help http://www.sscce.org/ -- https://mail.python.org/mailman/listinfo/python-list

python -W

2022-07-12 Thread אורי
Is `python -W all` and `python -Wa` the same? And what are the options for `python -W`? I didn't find it documented. For example, I'm using `python -W error::DeprecationWarning` and I didn't see it documented on https://docs.python.org/3/using/cmdline.html Is there a way to convert all warnings

Re: python -W

2022-07-12 Thread MRAB
On 12/07/2022 18:39, אורי wrote: Is `python -W all` and `python -Wa` the same? And what are the options for `python -W`? I didn't find it documented. For example, I'm using `python -W error::DeprecationWarning` and I didn't see it documented on https://docs.python.org/3/using/cmdline.html Is

Re: python -W

2022-07-12 Thread אורי
Thank you. אורי u...@speedy.net On Tue, Jul 12, 2022 at 10:09 PM MRAB wrote: > On 12/07/2022 18:39, אורי wrote: > > Is `python -W all` and `python -Wa` the same? And what are the options > > for `python -W`? I didn't find it documented. For example, I'm using > > `python -W