I am trying to pass the command line argument with white space in it, but sys.argv[1].strip() gives me only first word of the argument
import sys, os
docname = sys.argv[1].strip()
e.g. $ python myscript.py argument with whitespace
If I try to debug - docname gives me output as argument instead of argument with whitespace
I tried to replace the white space with .replace(" ","%20") method but that didn't help