Delete arduino0" SERIAL_RATE = 115200  #Parameters for post request API_KEY = "Space_Invader" REFRESH_DELAY = 4  # Setup serial port (this will reset Arduino) ser = serial.Serial(SERIAL_DEV, SERIAL_RATE) print "Using device " + ser.name + " at " + str(SERIAL_RATE) ser.open() ser.isOpen()  time.sleep(3)  def get_value_1():   ser.write("get 1\n")   return ser.readline()  def get_value_2():   ser.write("get 2\n")   return ser.readline()