Dear all,
This is a technical question. Imagine I have a python script called "test.py". I know that I can type python in the command and type out my python script line by line. But this "test.py" is long, I was wondering how to call this python script from stata's do file. I did the following in a stata do file, but apparently, it does not work.
cd "my_path"
python test.py
This is a technical question. Imagine I have a python script called "test.py". I know that I can type python in the command and type out my python script line by line. But this "test.py" is long, I was wondering how to call this python script from stata's do file. I did the following in a stata do file, but apparently, it does not work.
cd "my_path"
python test.py
Comment