[问题] linebot的变量与判断

楼主: shevchenlun   2019-05-05 15:46:12
x='111'
@handler.add(MessageEvent, message=TextMessage)
def handle_message(event):
if x == '111':
reply_text = 'hello'
x = '222' <
楼主: shevchenlun   2019-05-05 17:58:00
搞定了 原来忘记+global XDDD

Links booklink

Contact Us: admin [ a t ] ucptt.com