I need to call different python scipts from another script depending on the parameters.

The main scipt is invoked from another script by pasiing parameters

EX: 

```
----runner.py invokes----

python testfolder/subrun.py -s script1 -d xyz  -l abc -a test1

python testfolder/subrun.py -s script2 -d xyz  -l abc -a test2 -e test@test.com -u myid

```

depending on the parameter s i have to invoke `script1.py` or `script2.py`

How can I parse other arguments in `subrun.py` depending on the parameter `-s`. The number of parameters vary depending on script1 or script2