用字典给个名字就行 threads = { 'a' : thread_obect1, 'b' : thread_obect2 } threads["a"].your_own_implementation_of_thread_stop()
37,718
社区成员
34,238
社区内容
加载中
试试用AI创作助手写篇文章吧