title: How to open a serial port with pyserial?
body: <p>I am trying to open a serial port with python. This is on Ubuntu. I import the openinterface.py and enter in this</p>
  
  <pre><code>ser = openinterface.CreateBot(com_port = "/dev/ttyUSB1", mode="full")
  </code></pre>
  
  <p>I get an error saying "unsupported operand types for -: 'str' and 'int'" I tried the same call with single quotes instead of double, and with no quotes at all.</p>
  
  <p>How can I fix this? Or is there an alternative function to use? I only know the basics of Python so maybe its some small syntax thing I am not noticing? Any help would be appreciated, thanks.</p>