用Python获取设备的物理位置? [英] Get physical position of device with Python?
本文介绍了用Python获取设备的物理位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你可以从网页上刮取它,比如<例如 http://www.geoiptool.com/ 。
Is there a way to get the computer's physical position using Python, preferably without an API, or with a free API? I've searched around a bit, and the only free API I've found is very, very inaccurate. I only need this to be somewhat accurate, as it's for getting local weather.
解决方案
You can scrape it from a webpage like http://www.geoiptool.com/ for example.
这篇关于用Python获取设备的物理位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文