Codelife Codelife - 6 months ago 26
Python Question

Execute and create one python script from another

Suppose, I have a python script
, executing of
will create a copy of that file, let's say
. Now, I want to run
in such a way that first it will create
and then will execute

This is my
python script looks like,

import io
import shutil
import os

shutil.copy2('', '')

But out is saying not found


Run python with as it's first argument.


If you say what's your goal of this action. We can help you better.