title: How to get arduino port with python
body: <p>I'm developing an embedded project and I need to connect Arduino and Raspberry pi because I want to control Arduino with Raspberry Pi over the serial port. My question is how can I get the Arduino port in Linux dynamicaly with python? </p>
  
  <p>My python program will loop sending commands to Arduino and I don't want to lose communication if someone connects and disconnects the Arduino.</p>
  
  <p>Thanks for any help.
  Zulin</p>