def get_form_type(self):
        try:
            raw_form_type = self.headers['form']
            a = re.search('(.*?)[A|N|T]', raw_form_type)
            if (a):
                return a.group(1)
            else:
                return raw_form_type

        except KeyError:
            return None
scan for available ports. return a list of device names.
dataset/ETHPy150Open sunlightlabs/read_FEC/fecreader/parsing/filing.py/filing.get_form_type--crossover with--dataset/ETHPy150Open pyserial/pyserial/serial/tools/list_ports_posix.py/comports