#!/usr/bin/python3 import arduino def loop(): contin = True while contin: quitstatement = input() if quitstatement == false: else: arduino.send() contin = false pass def main(): arduino.connect() loop() arduino.disconnect() if __name__ == "__main__": main()That is the code that was provided by a professor, who did not give any other instructions regarding installing a module.
Thank you very much, being new to programming can be tough!