I have a system that creates a file(.csv format) and save and accumulate it into my local drive every 5 minutes automatically.
It contains money transaction for the past 5 minutes.
#This is file format.(output_2020-07-17-21:05)
Sender,Receiver,AMT
BANK1,BANK2,100
BANK3,BANK4,20
BANK1,BANK5,120
...
PIRATE,BANK1,10
My goal is to create alarm system with python when abnormal figures are entered.
For example, if sender column is entered as "Pirate Bank", I want to get an alarm or notification.
Specifically a pop-up window stating that 'A pirates has appeared!'.
I made a code periodically executed including pandas
, pd.read_csv
....
However I do not know how to creame multiple pop-up.
I did some searches but I couldn't find it.
Some pop-up modules (tkinter
,QMessageBox
) stop executing code until it ends.
When popup window appear, it never execute next step unless I press x button.
It means it only pops up sing popup window.
In reality I couldn't press 'x' button in real time.
I just want to create any notification about abnormal situation without my interruption(like clicking x popup button).
It is not necessarily a pop-up.
Notepad, image, anything is fine if it notify me of abnormal situation.
Please give me any good tips.
Thanks for reading.