I have a python script (test.py)
and it will call another python script (x.py)
to do something and I would like the x.py
can return the object "Person" to test.py
.
test.py:
cmd= "python /usr/example/x.py"
command= Popen(cmd, shell=True, stdout=PIPE, stdin=PIPE, stderr=PIPE)
x.py:
--The following coding is used to assign a name to object "person"
person = people.name("Peter")
printAreeter
Is there any ways that can archive my goals?
Thanks a lot.