python from java.lang import Thread class MyThread(Thread): def run(self): print("Hello from a thread!") thread = MyThread() thread.start() python def async_task(): yield def main(): coro = async_task() main()


上一篇:
下一篇:
切换中文