decoding tag

1 questions


1 answers
108 views
0
Python decoding question. UnicodeDecodeError 'utf-8' codec can't decode byte 0xb5 in position 3

I'm making a shell out of Python.import osfrom subprocess import check_outputprint(check_output(dir, shell=True).decode('utf-8'))It is a program that returns and prints the returned value when you ent...


© 2024 OneMinuteCode. All rights reserved.