简体   繁体   中英

How do I create an .exe which cycles through 3 Python scripts in order

I have three scripts

  1. Create_Image.py

  2. Add_PNG.py

  3. Combine.py

And I'd like to create an.exe or.bat file which runs the three of them one after another.

I paid a developer to do this, but he created an.exe which is static and doesn't respond to changes in the.py scripts.

.bat file is just a script for Windows. So you probably could make a script like this:

python [your_1_python_script_name]
python [your_2_python_script_name]
python [your_3_python_script_name]

However, your script would have to be in the same directory as python files

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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