반응형 Development/Python10 Python 2.x 한글 인코딩 관련 정리 개요 파이썬은 양놈이 만든 언어라서 한글을 쓸때 골치아프다 (아니, 한글만 골치아픈게 지옥의 언어 CJK(chiness, japanese, korean)를 포함한 멀티바이트 언어는 전부 그렇겠지). 영어만 사용하면 별로 신경쓸게 없지만 한글은 euc-kr, utf-8이 공존하지 않는가? 그냥 골치아픈것도 아니고 unicode와 조합되서도 골치아프다. unicode관련 부분의 경우, 최초부터 지원한게 아니라 파이썬 2.4(엿던가?)부터 지원이 추가되어서 문자열을 의미하는 타입이 str과 unicode가 존재해서 더 골치아프다. 이런 문제는 파이썬 3.X로 가면 거의 없어지지만(그 동네는 unicode로 통일됏다고하더라.) 외부 라이브러리라든가 기타 사정상 파이썬 2.x를 써야되는 환경도 아직 많이 남아있어.. 2019. 7. 28. pip 설치 How to Install PIP on WindowsThe following instructions should work on Windows 7, Windows 8.1, and Windows 10:Download the get-pip.py installer script. If you’re on Python 3.2, you’ll need this version of get-pip.py instead. Either way, right-click on the link and select Save As…and save it to any safe location, such as your Downloads folder.Open the Command Prompt and navigate to the get-pip.py.. 2019. 2. 17. 이전 1 2 3 다음 반응형