Global Variable is undefined - Python

后端 未结 0 1527
滥情空心
滥情空心 2021-01-25 03:30

This is my code:

def self_destruct(self):
    self.flag = 1
    listener.stop()
    os.remove(self.path)

def start(self):
    global listener
    with Listener(o         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题