py파일 첫 줄에 아래 주석을 추가
# -*- coding: utf-8 -*-
출처 : http://develstory.blogspot.kr/2011/05/python.html
'Python > 환경 설정' 카테고리의 다른 글
[Python] virtualenv 환경 설정 (0) | 2015.02.21 |
---|---|
ipython notebook과 pycharm (0) | 2015.02.14 |
UnicodeEncodeError: 'ascii' codec can't encode characters in position : ordinal not in range(128) (0) | 2015.02.14 |
ipython notebook 설치 방법 (0) | 2015.02.08 |