任务 想了解当前时区的夏令时是否正在执行。 解决方案 应该这样做: import time def is_dst(): return bool(time.localtime().tmisdst) 讨论 在我的时区(和大多数其他时区一-样)&#x