Hi,
I'm trying to make a small application that uses parralel port for remote control of an audio amplifier (on/off).
I use a Tkinter object to set/reset one of the line of the parallel port.
My problem is to find a way to reset the line when windows closes (when I switch of the computer), to avoid damaging my loudspeakers.
Is there an event that I could use ? Like the event of a mouse clic on the "X" on top of the window (=alt+F4)
I'm a beginner (2 days), i find it difficult to find the informations I need (but Python is incredibly powerfull !)
Thanks for your help !
I'm trying to make a small application that uses parralel port for remote control of an audio amplifier (on/off).
I use a Tkinter object to set/reset one of the line of the parallel port.
My problem is to find a way to reset the line when windows closes (when I switch of the computer), to avoid damaging my loudspeakers.
Is there an event that I could use ? Like the event of a mouse clic on the "X" on top of the window (=alt+F4)
I'm a beginner (2 days), i find it difficult to find the informations I need (but Python is incredibly powerfull !)
Thanks for your help !
Comment