[英]How can I run both python apps?
I have to apps which depend on each other. 我必须依赖彼此的应用程序。 Both are part of the same project:
两者都是同一个项目的一部分:
How can I run both using terminal (or PyCharm)? 如何使用终端(或PyCharm)运行?
你可以使用bash &&
运算符,如果需要第一个成功完成,然后运行第二个。
python app.py && python download.py
Either run these two commands in separate terminals: 在不同的终端中运行这两个命令:
python app.py
python download.py
Or run this command in a single terminal ( &
means "run in background"): 或者在单个终端中运行此命令(
&
表示“在后台运行”):
python app.py & python download.py
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.