utf-8 error
File "C:\Users\rahul\AppData\Local\Programs\Python\Python38\get_wifi.py", line 27, in
Same for me, did you fix it?
File "C:\Users\rahul\AppData\Local\Programs\Python\Python38\get_wifi.py", line 27, in command_output = subprocess.run(["netsh", "wlan", "show", "profiles"], capture_output = True).stdout.decode() UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9d in position 499: invalid start byte
- OPEN windows10-wifi.py file
- GO to end of line 27 find .decode() and change to this .decode('iso-8859-1')
- same changes for line 50 and 59
Hi everyone, following the method of @anilgundal the error disappears but the script closes as soon as I run it. Someone have an idea please?