Arduino uno can not work when use python on Windows

I have a question, I use pyserial to trigger Arduino on windows 7 PC but it does not work , Linux PC use the same pyserial code and Windows use Arduino IDE to launch serial port and input value but it can work.

L LED have flashing when I use python code to trigger it.

I have check serial port and write value is right.

code.

import serial

ser=serial.Serial()
ser.braudrate = 9600
ser.port = ('COM82')
ser.open()

ser.write(5)

PC Windows 7 64 bit

I have try python 2.7.15 32bit and 64bit and 3.6 64bit but still is fail.
pyserial use 3.4

Arduino uno R3

(deleted)

I had tried it but still is fail. Thanks for your help in the question.

(deleted)

Thank you very much for your help , The method has tried and I have change as variable on ser.write. it is still not working.

I don't understand why Windows + pyserial is failed. I also change different drivers and different Windows PC but it is still the same symptom.