Hi,
I've a python script called aaa.py and passing an command line option " -a" to the script like, ./aaa.py -a
& Inside the script if the -a option is given I do some operation if not something else.
code looks like
./aaa.py -a
.
.
if options.a
---some operation---
if not options.a
----something---
Now the QUESTION IS, I am calling another script called bbb.py inside this aaa.py script and if i want to pass the -a option to this sub script, How can I pass it and How to parse it from the bbb.py script?