I am new to Python. I'm running Raspbian and calling a Python script this way:
python testarguments.py "Here is a test parameter"
My script:
import sys
print sys.argv[1:]
Output:
['Here is a test parameter']
Question:
What is the most efficient way to remove beginning and ending brackets and single quotes from sys.argv
output?