bat启动命令后自动关闭黑色命令窗口

上层目录,编辑 启动.bat,内容如下:

cd python

start.bat

在 python 内,编辑 start.bat,内容如下:

start pythonw   main.py