#!/usr/bin/python3
import sys
input1 = sys.argv[1]
def print_params(*params):
print(params)
print_params(input1)
#END#
In the above code how can I call all the command line arguments with the prin_params function without having to code input1, input2, input3, etc... When I'm doing testing liket this I would like to be able to just feed my command line arguments right inow print_params() intread of having to manually code every line. I tried print_params(sys.argv[])
but it did not work