Update Python/GUI/PySimpleGUI-First-Attempt
This commit is contained in:
@ -41,7 +41,7 @@ while True:
|
||||
with open("info.csv", 'r') as r:
|
||||
FileReader = csv.reader(r)
|
||||
for i in FileReader:
|
||||
if i[1] == SearchKeyWord:
|
||||
if SearchKeyWord in i[1]:
|
||||
NewInfo = f"First Name:{i[0]}\nLast Name:{i[1]}\nPhone Number:{i[2]}\nPriority Level / Importance:{i[3]}\n"
|
||||
#Reusing window[obj].update(value) to update the empty label -SearchOutput-
|
||||
window['-SearchOutput-'].update(NewInfo)
|
Reference in New Issue
Block a user