Jul-05-2019, 10:57 AM
(Jul-04-2019, 06:09 PM)snippsat Wrote: Do not 1-space as indentation,in Python is always 4-space.I admit to having only small bases in Python, certainly, I know a few things, but you have just taught me something ! But why necessarily 4 spaces and not one ?
In any case, it seems to work so thank you very much, I just get the following error, but I will look at my side, I probably have trouble copying something somewhere; out of curiosity, I give you my model concerning this part (here), without doubt I have it badly adapted :
Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "GPS.py", line 38, in run while gpsp.running: NameError: global name 'gpsp' is not defined