Changed Python example to allow for user input serial port