Can you change these values to commandline arguments (sys.argv[1], sys.argv[2]) with a fallback to '/dev/ttyUSB0' / 9600, instead of hardcoding them?