import time
import pygetwindow as gw
import datetime
def detect_close(window_title):
while True:
try:
windows = gw.
Source link
import time
import pygetwindow as gw
import datetime
def detect_close(window_title):
while True:
try:
windows = gw.
Source link