반응형
Notice
Recent Posts
Recent Comments
Link
관리 메뉴

bro's coding

python.str.replace 본문

[IT]/python

python.str.replace

givemebro 2020. 4. 27. 14:25
반응형

 

imdb_tarin.data[6]
b"This movie has a special way of telling the story, at first i found it rather odd as it jumped through time and I had no idea whats happening.<br /><br />Anyway the story line was although simple, but still very real and touching. You met someone the first time, you fell in love completely, but broke up at last and promoted a deadly agony. Who hasn't go through this? but we will never forget this kind of pain in our life. <br /><br />I would say i am rather touched as two actor has shown great performance in showing the love between the characters. I just wish that the story could be a happy ending."

 

s=imdb_tarin.data[6]
s.decode().replace('<br /','')

 

"This movie has a special way of telling the story, at first i found it rather odd as it jumped through time and I had no idea whats happening.>>Anyway the story line was although simple, but still very real and touching. You met someone the first time, you fell in love completely, but broke up at last and promoted a deadly agony. Who hasn't go through this? but we will never forget this kind of pain in our life. >>I would say i am rather touched as two actor has shown great performance in showing the love between the characters. I just wish that the story could be a happy ending."
반응형

'[IT] > python' 카테고리의 다른 글

time.time()  (0) 2020.06.22
뱀 게임  (0) 2020.06.05
konlpy.tag.Twitter, Okt.basic  (0) 2020.04.29
KonlPy(코앤엘파이 한국어 형태소 분석기).install  (0) 2020.04.29
python.str.encode/decode  (0) 2020.04.27
machine learning.데이터 간의 거리(기준 [0])  (0) 2020.04.07
machine learning.개발 순서  (0) 2020.04.07
모듈 구분  (0) 2020.03.26
Comments