Python Script Use Input Device