PyCharm은 Django, Google App Engine 등을 지원하며, Javascript, HTML편집까지
지원하는 최고의 IDE로 보입니다.
---- OLD ---
Ninja 와 PyScripter 를 설치하여 보았습니다.
PyScripter 가 화면이 훨씬 깔끔하고, Editor의 폰트 설정, 디버깅 모드 등 기능이 더 다양합니다.
PyScripter http://code.google.com/p/pyscripter/
Ninja http://ninja-ide.org/
PyScripter 실행시 아래와 같은 오류가 발생할 수 있습니다.
"UnicodeEncodeError: 'ascii' codec can't encode character ~~~"
해결방법:
C:\Python27\Lib\site.py 의 내용 중 한글자만 수정하면 됩니다.
def setencoding():
"""Set the string encoding used by the Unicode implementation. The
default is 'ascii', but if you're willing to experiment, you can
change this."""
encoding = "ascii" # Default value set by _PyUnicode_Init()
# 원래 0 으로 되어있던 것을 1로 수정하면 된다.
# Windows의 locale에 따른 처리를 가능하게 함.
if 1:
# Enable to support locale aware default string encodings.
import locale
loc = locale.getdefaultlocale()
if loc[1]:
encoding = loc[1]
if 0:
# Enable to switch off string to Unicode coercion and implicit
# Unicode to string conversion.
encoding = "undefined"
if encoding != "ascii":
# On Non-Unicode builds this will raise an AttributeError...
sys.setdefaultencoding(encoding) # Needs Python Unicode build !
'Data/Text/Knowledge Analysis & Mining > Python' 카테고리의 다른 글
[python] utf-8로 stdin 및 stdout 입출력 하기 (0) | 2013.03.18 |
---|---|
[python] dict merge (0) | 2013.03.11 |
[python] timedelta값을 실수(real, float) 또는 정수(integer)로 변환 (0) | 2013.02.08 |
[python] addition of list value (list 더하기) (0) | 2013.02.07 |
[python] 문자열을 시간값으로 변환 strptime() (0) | 2013.02.07 |
WRITTEN BY
- manager@
Data Analysis, Text/Knowledge Mining, Python, Cloud Computing, Platform