How to run another Python on Python

Asked 2 years ago, Updated 2 years ago, 14 views

Hello, everyone I am a high school student who is working on a project.

What code should I insert to run one Python file on Python and then move on to another Python file?

e.g. Run a source with 1.py, then move on to 2.py, and run a source with 2.py

I can't figure it out no matter how hard I look for itPlease.

python

2022-09-21 17:17

1 Answers

I think it would be the simplest to run it sequentially as a batch file.

exec123.bat

python 1.py
python 2.py
python 3.py


2022-09-21 17:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.