Get physical position of device with Python?

前端 未结 5 2092
深忆病人
深忆病人 2021-01-20 11:51

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

5条回答
  •  盖世英雄少女心
    2021-01-20 12:07

    You can try using MaxMind's GeoIP Python API with their free GeoLite City database. Accuracy may vary, more details here.

    Also take a look at this question for other alternatives.

提交回复
热议问题