This blog is to show how to list all the COM ports on the terminal by using the pythons script.

If you connect multiple devices on your PC, you would like to list out all the COM port information. Basically, you can find at the device manager in the windows 10.

You can also use the Python Script to list out all the COM Ports information at the terminal.

http://www.programcreek.com/python/example/97508/serial.tools.list_ports.comports

I used the example 2 from miniterm.py.

How to capture the UART terminal log from the console

Command line usage

https://pyserial.readthedocs.io/en/latest/tools.html

serial.tools.list_ports

python -m serial.tools.list_ports:

serial.tools.miniterm

python -m serial.tools.miniterm -h:

Thanks for your interests on my blog. Since 2019, I have created this blog and shared the idea how to do some funny stuffs. I am very pleasure that I get quite a lot of positive feedback. I really hope that this blog helps your own embedded solution development. May I get support from you to keep it in order to maintain the wordpress host service? Your appreciation would be very helpful.


https://jimmywongiot.com/2021/05/26/asking-for-support/