⇒Code: Alles auswählen
status_heizung = json.loads(re.sub(r'\w:"', '":"', data))
Code: Alles auswählen
status_heizung = json.loads(re.sub(r'(\w):"', r'\1":"', data))
⇒Code: Alles auswählen
status_heizung = json.loads(re.sub(r'\w:"', '":"', data))
Code: Alles auswählen
status_heizung = json.loads(re.sub(r'(\w):"', r'\1":"', data))
Code: Alles auswählen
pip install pip --upgrade --user
Code: Alles auswählen
$ xgps
xgps: host localhost port 2947
Code: Alles auswählen
> python -m pip install -r requirements.txt
Code: Alles auswählen
def is_leap(year):
return bool(year%400==0 or year%4==0 and year%100)
Code: Alles auswählen
yield parts[0], parts[1:]
Wäre auch irgendwie komisch wenn ``int("2³")`` als Ergebnis 23 liefern würde und nicht 8.