Demo entry 6720935

html

   

Submitted by anonymous on Mar 19, 2018 at 10:58
Language: Python 3. Code size: 318 Bytes.

            while True:
                for information in res.json()['data']:
                    if 'message' in information:
                        ss = information['message'].replace('\n','<br>')   # 將換行符號轉成 <br> 才能在 UI 上正確顯示換行。
self.information_list.append([parse(information['created_time']).date(), ss ])

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).