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

丹尼尔·斯莱特(DanielSlätt)

快速发布:下面的代码片段给我键入错误:

“ TypeError:tzNameAt缺少1个必需的位置参数:'longitude'”

from tzwhere import tzwhere

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

有什么想法吗?

拉克什

文档

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

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

python缺少1个必需的位置参数

python decorator TypeError缺少1个必需的位置参数

python:缺少1个必需的位置参数:'self'

Python 3.6 类型错误:缺少 1 个必需的位置参数

Python模拟:缺少1个必需的位置参数

Python错误:缺少1个必需的位置参数:'self'

Python时间表:缺少1个必需的位置参数?

Python 中的继承:缺少 1 个必需的位置参数:'self'

python:save() 缺少 1 个必需的位置参数:'filepath'

Python错误“ <方法>缺少1个必需的位置参数:'self'“

TypeError:wrapper()缺少1个必需的位置参数:'num'(python)

Python TypeError:set()缺少1个必需的位置参数:“ value”

Python 问题(缺少 1 个必需的位置参数:'self')

Kivy/Python:缺少 1 个必需的位置参数

缺少 3 个必需的位置参数 Python

Elasticsearch Python API在简单查询中导致“ search()缺少1个必需的位置参数”

python-telegram-bot-send_photo()缺少1个必需的位置参数:'self'

调用python函数时发生错误,TypeError:returnbook()缺少1个必需的位置参数:“ self”

dump()缺少1个必需的位置参数:python json中的'fp'

python 3.5-> 3.6 Tablib TypeError:cell()缺少1个必需的位置参数:'column'

Python H2O直方图错误:bar()缺少1个必需的位置参数:'x'

Python中的Google Cloud Function:TypeError:post_tweet()缺少1个必需的位置参数:“ context”

insert() 缺少 1 个必需的位置参数:使用 python mysql 的“字符串”相同错误

类型错误:函数缺少 1 个必需的位置参数:'path' Flask Python

Python-数据框插入错误“ TypeError:insert()缺少1个必需的位置参数:'value'”

Python3 Flask-缺少1个必需的位置参数:“ self”

扭曲-Python3 TypeError:__init __()缺少1个必需的位置参数:“ factory”

尝试修复TypeError:freqRolls()缺少1个必需的位置参数:“ sides” python

使用lamda函数错误的Python缺少1个必需的位置参数:'event'