Navigation
Home
Projects
Patents
Publications
Changes
Search
SEARCH
TOOLBOX
LANGUAGES
Python
Python
From Chaehyun
Revision as of 14:48, 3 October 2012 by
Xlos
(
Talk
|
contribs
)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Jump to:
navigation
,
search
unicode로 출력된 string 변환
print word.decode('unicode_escape')
beautifulsoup 사용할 때
encoding 을 알고 있을 때 깔끔하게 정리하기
unicode_html = myfile.read().decode('utf-8', 'ignore')
soup = BeautifulSoup (unicode_html)