Python
'cp949' codec can't decode byte 0xec in position 12: illegal multibyte sequence
ndlessrain
2023. 1. 17. 10:25
728x90
windows에서 메모장으로 저장한 파일을 python에서 불러오려고 하면 오류.
아래 encoding 옵션 주면 해결.
open('파일경로', encoding='UTF8')
728x90