简体   繁体   English

如何在一个批处理文件中同时运行多个批处理程序?

[英]How to run multiple batch programs in one batch file at the same time?

我们正在和朋友们制作一个简单的冒险游戏,这是仅使用批处理和python的挑战,我的问题是,当玩家四处移动时,我们如何让我们的机器人在相同的确切窗口中运行?

Threading might be a solution for you. 线程化可能是您的解决方案。 I've not encoutered threading in Python before, but a search brought this thread up with a few examples on implementing threading, or something similar within Python. 我之前没有对Python中的线程进行过加密,但是通过一些示例来实现此线程,或者通过Python进行类似的搜索,从而使该线程更加活跃。

How to use threading in Python. 如何在Python中使用线程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM