python - How to call a script from another script? - Stack Overflow

PHOTO EMBED

Thu Jul 20 2023 07:48:17 GMT+0000 (Coordinated Universal Time)

Saved by @ebpsalm

exec(open("test2.py").read())
content_copyCOPY

https://stackoverflow.com/questions/1186789/how-to-call-a-script-from-another-script