gettty

pylayers.measures.parker.smparker.gettty()[source]

get tty and handles port conflicts

>>> import  os
>>> from pylayers.measures.parker import smparker