#!/usr/bin/python3 # -*- coding: utf-8 -*- import os import webbrowser result = [] myradio_file = os.path.join(os.path.expanduser("~"), ".local/share/InternetRadioDeutsch/myradio.txt") myradio_webfile = os.path.join(os.path.expanduser("~"), ".local/share/InternetRadioDeutsch/myradio.html") myradio_text = open(myradio_file, 'r').read() theRadioList = myradio_text.splitlines() def getValues(): for line in theRadioList: if line.startswith("-- "): line = line.replace("-- ", "").replace(" --", "") result.append(f'