I am new to python. I searched and trying following approach:
I have 3rd party application called "xyz", which takes n argument.
I would like to warp this "xyz" into my module called "abc.py" which required m arguments.
I would like to read and keep my m arguments and pass remaining n argument to "xyz"
Note: the number of n argument is huge, so it would best if we dont need to re state same number of argument in my module and directly pass to "xyz"
Hope it should be possible and I didn't confused.
Thanks for the help.
os.system, especially when dealing with user provided data.os.systemspawns a subshell, and this means that malign arguments may execute arbitrary code. Usesubprocess.callinstead.