If I run the code:
connection = manager.connect(\"I2Cx\")
The program crashes and reports a KeyError because I2Cx doesn\'t exist (it should be
I am using Python 3.6 and using a comma between Exception and e does not work. I need to use the following syntax (just for anyone wondering)
try: connection = manager.connect("I2Cx") except KeyError as e: print(e.message)