# Python program monitor
# Python program watcher
Python Code interpreter at each file's modification.
Use -f or --file option to specify the input file:
ex:./dyninter.py -f test.py
VAR file_path: file
last_modification_time, tmp_modification_time : Float
START
file_path <-- python program file (file path)
last_modification_time <-- file modification time
while (not CTR+C):
(* Infinity Loop *)
tmp_modification_time <-- file modification time
If (last_modification_time <> tmp_modification_time) :
(* Execute file *)
Execute(file_path)
last_modification_time <-- tmp_modification_time
EndIf
EndWhile
END