0

how do i get the gps loacation of myself in python ?

21st Dec 2016, 8:46 AM
Choo zi heng ,wayne
Choo zi heng ,wayne - avatar
4 Réponses
+ 1
help pls
21st Dec 2016, 8:46 AM
Choo zi heng ,wayne
Choo zi heng ,wayne - avatar
+ 1
import os cd = os.getcwd() print(cd) The path directory of "your app location at execution" is the return value of the getcwd function of module os... In certain circumstances, it may differ from the location of your app's file, however it's not ^^
21st Dec 2016, 8:57 AM
visph
visph - avatar
+ 1
So, you need to precise too it's in python AND on android ( I suppose ? or iOS ? or... on a mobile device in any case probably) I can't tell you, but you have to look at the specific developpment toolkit ( sdk ) comming with your target platform : not very hard, but frameworks needed by mobile device are not easy to understand for calling libraries if you don't have a certain practice of coding. But it's not impossible, patiently fumbling ;)
21st Dec 2016, 9:10 AM
visph
visph - avatar
0
sorry i wasn't specific enough
21st Dec 2016, 9:01 AM
Choo zi heng ,wayne
Choo zi heng ,wayne - avatar