def list_com_ports(self):
"""
Returns list of com ports found on the system.
This is thin-wrapper of serial.tools.list_ports.
Returned list consists of possible ListPortInfo instances.
You may access attributes of ListPortInfo by extended variable
syntax, e.g.::
@{ports} = List Com Ports
Log ${ports[0].device}
"""
return comports()
__init__.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录