본문 바로가기

Conception/mY eTude

"The Python" - Apr. 5. 2011

I read the "Head First Programming".
This book is very easy in python.
I had coding my program that search and getting the webpage for twitter.
This program is  very easy but twitter's Authorization is not easy.
Twitter's authenticating using OAuth that not used password and userid
the first thing I have to do is register a application.
I recived the consumer key and consumer seccret.
I recived access key and access secret only after then.
I write tweet with my application but I have some problem that is the wrong character set.
Python default character set is bytecode but Webpage is unicode.
I try to encoding or decoding but I don't solved.
But I used 'tkinter' module so i got solved. tkinter is Python's GUI module.
I guess that problem is  system shell's character configuration but I don't know..
Anyway...I'm very tierd. I want sleep...

'Conception > mY eTude' 카테고리의 다른 글

세상 모든 사람들을 위한 노래 - 2 -  (0) 2012.01.13
세상 모든 사람들을 위한 노래 - 1 -  (0) 2012.01.13
Easy? not Easy - Mar. 30. 2011  (0) 2011.03.30
Today is Start - March. 30. 2011  (0) 2011.03.30
8월의 1일...  (0) 2009.08.01