Werte werden nun in einem Dictonary abgelegt
This commit is contained in:
parent
016e122488
commit
5c3d974f9b
1 changed files with 8 additions and 3 deletions
11
Parser.py
11
Parser.py
|
|
@ -29,7 +29,12 @@ def kodi(suchstring):
|
|||
return (wert)
|
||||
return 0
|
||||
|
||||
eingabe = input("was: ") #Frage
|
||||
a = {"episode" : "","fanart" : "","file":"","label":"","season":"","showtitle":"","type":"","title":""}
|
||||
|
||||
for i in a:
|
||||
wert = kodi(i)
|
||||
a[i]=wert
|
||||
|
||||
print(a)
|
||||
|
||||
|
||||
label = kodi(eingabe)
|
||||
print(label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue