Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
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.
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!