Hỏi & Đáp
split
에러납니다 ㄷㄷㄷ
- Lượt thích
- 0
- Số bình luận
- 7
- Lượt xem
- 363
Hỏi & Đáp
에러납니다 ㄷㄷㄷ
Hỏi & Đáp
AttributeError Traceback (most recent call last) in 3 with ole . open ( './data/입사지원서.hwp' ) as f : 4 print ( f . get_stream ( 'PrvText' ) . read ( ) . decode ( 'utf-16le' ) ) ----> 5 splitdata = [ i . strip ( ) for i in data . split ( '> ) . split ( ' ) . split ( '>' ) ] 6 #splitdata = data.split('> 7 AttributeError : 'list' object has no attribute 'split'
Hỏi & Đáp
split을 하지 않았을때 '> ' \r\n \r\n \r\n \r\n 요렇게 나옵니다 중간에 >\r\n