that seems to work just fine... I think. this looks like I think it should.

/home/weewx/bin/user # python timetest.py                                       
                                                   
time.struct_time(tm_year=2020, tm_mon=9, tm_mday=30, tm_hour=12, tm_min=49, 
tm_sec=35, tm_wday=2, tm_yday=274, tm_isdst=1)         
Wed Sep 30 12:49:35 2020                                                        
                                                   
/home/weewx/bin/user #                                                          
                                                   
/home/weewx/bin/user # cat timetest.py                                          
                                                   
import time                                                                     
                                                   
print(time.localtime())                                                         
                                                   
print(time.asctime(time.localtime()))
/home/weewx/bin/use

On Wednesday, September 30, 2020 at 12:24:32 PM UTC-6 vince wrote:

> Have you confirmed your python isn't messed up ?
>
> Perhaps try a simple test something like:
>
> import time
> print(time.localtime())
> print(time.asctime(time.localtime()))
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/24f6698a-0eb7-480e-b1ed-979b4c928614n%40googlegroups.com.

Reply via email to