How could I run the entirety of test.py
from main.py
. Both main.py
and test.py
is allocated within the application folder. The test.py
file is within the app folder. How would I be able to achieve this, the code I have below does not work?
Directories:
application folder
├── appFolder
│ └──test.py
└── main.py
Main.py:
from .appFolder import test
from subprocess import call
call(["Python3","test.py"])