title: Python PySerial.How to know if a port is already open?
body: <p>I'm trying to write an App that uses serial ports in a Linux PC, using python and PySerial. But in this PC there are other Apps using serial ports. 
  How can I know if a port is already open by other App before trying to use it?</p>
  
  <p>thanks</p>