0
how do i get the gps loacation of myself in python ?
4 Respostas
+ 1
help pls
+ 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 ^^
+ 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 ;)
0
sorry i wasn't specific enough