I have a python file name "a.py" and another python file name "b.py". I wanted to run a.py with command in b.py file and I use this codes below:
import os
def b():
os.system("python a.py")
but a.py has a list name "list_exam" that I want to pass it to b.py through the command line code. I don't know how to pass it in a.py and how to get with command in b.py file.
thanks a lot.