Python file sp\xe9cifi\xe9 not found during the opening of the COMx port -
i'm trying open port com on computer using python.
here code
import serial ser = serial.serial() ser.port = 4 ser.baudrate = 9600 ser.open()
when execute code line line on python shell, ser.open() generates following error :
i serialexception: not open port 'com5': windowserror(2, 'le fichier sp\xe9cifi\xe9 est introuvable.')
it means : sp\xe9cifi\xe9 not found !!
i don't know what's happening file :/ , how can fix issue. if need further information please don't hesitate.
thanks help.
the solution put plug in port com5 open !!
you can't open port if there nothing physically plugged in
Comments
Post a Comment