Problem with reading in parameters with special characters in Python
Problem with reading in parameters with special characters in Python Question: I have a scripts (a.py) reads in 2 parameters like this:- #!/usr/bin/env python import sys username = sys.argv[1] password = sys.argv[2] Problem is, when I call the script with some special characters:- a.py "Lionel" "my*password" It gives me this error:- /swdev/tools/python/current/linux64/bin/python: No match. Any …
Total answers: 3