title: Python - In Windows, how to intertact with the serial port?
body: <p>Under Linux, use fdpexpect module to interact with the serial port, such as:</p>
  
  <pre><code> fd = os.open(TTY, os.O_NONBLOCK|os.O_RDWR|os.O_NOCTTY)
   child = fdpexpect.fdspawn(fd)
  </code></pre>
  
  <p>In Windows, how to implement the above?</p>