Currently my python code is called from command line as follows:
C:\project-master>python myFile.py --plugin TestPlugin\migration -f "C:/Form1/All_2020-01-01.xsd"
Where myFile.py code needs commandline arguments:
--plugin TestPlugin\migration
-f "C:/Form1/All_2020-01-01.xsd"
I have created a new python file called: Test.py. From Test.py file, how can I make a call to myFile.py along with the required arguments. For example-
class Workflow:
def Process(self):
# How to make a call for below commandline from here:
# myFile.py --plugin TestPlugin\migration -f "C:/Form1/All_2020-01-01.xsd"
A = Workflow()
A.Process()