If several different .py files need to get some configure data from same external file(like .txt or another .py).
I try to use the code below, but it dosen't work and report error.
retcode = subprocess.call(r' --runscript="C:\Users\TRY_PY\Test.py"')
Is there any other methods or API can achieve?
Log in to post a comment.