gpt4 book ai didi

Python tzwhere - tzNameAt 缺少 1 个必需的位置参数

转载 作者:行者123 更新时间:2023-12-01 02:06:58 26 4
gpt4 key购买 nike

快速问题:下面的代码片段给了我一个类型错误:

“类型错误:tzNameAt 缺少 1 个必需的位置参数:'经度'”

from tzwhere import tzwhere

TimeZone = tzwhere.tzwhere.tzNameAt(37.3880961, -5.9823299)

有什么想法吗?

最佳答案

来自docs :

>>> from tzwhere import tzwhere
>>> tz = tzwhere.tzwhere()
>>> print tz.tzNameAt(37.3880961, -5.9823299)

关于Python tzwhere - tzNameAt 缺少 1 个必需的位置参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48960721/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com