danny.liu - 2019-12-12

Hi,

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.

import subprocess
retcode = subprocess.call(r' --runscript="C:\Users\TRY_PY\Test.py"')

Is there any other methods or API can achieve?
thanks!