minxss_beacon_decoder.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:MinXSS_Beacon_Decoder 作者: jmason86 项目源码 文件源码
def setupAvailablePorts(self):
        """
        Purpose:
            Determine what ports are available for serial reading and populate the combo box with these options
         Input:
           None
         Output:
           None
        """
        self.comboBox_serialPort.clear()
        listPortInfoObjects = list_ports.comports()
        portNames = [x[0] for x in listPortInfoObjects]
        self.comboBox_serialPort.addItems(portNames)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号