This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifopt_haltestelle1 = "..." | |
ifopt_haltestelle2 = "..." | |
# siehe dm_depdata.py: | |
''' | |
Liste von nacheinander (im Falle von mehreren Fehlschlägen ※) abzuarbeitenden Funktionen | |
mit jeweils nacheinander (siehe ※) erstmal abzuarbeitenden Argumenten, | |
alles nacheinander durchlaufend, bis irgendwas erfolgreich ein Ergebnis liefert. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.7 | |
# -*- coding: utf-8 -*- | |
from radbox import * | |
if __name__ == "__main__": | |
baseurls = [URL("https://www.dein-radschloss.de/"), URL("https://www.bikeandridebox.de/")] | |
print("\n".join(f"[{bi}] {bu}" for bi, bu in enumerate(baseurls))) | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.7 | |
# -*- coding: utf-8 -*- | |
import traceback | |
import argparse | |
from radbox import * | |
from datetime import datetime | |
from decimal import Decimal, ROUND_HALF_UP | |
from subprocess import check_output | |
from rgbmatrix import RGBMatrix, RGBMatrixOptions, graphics |
NewerOlder