Is there a sys.argv equivalent in python 3 that will let me read arguments as bytes?
I have a script which accepts a bytes as its first arg, the first arg is supposed to be bytes converted from an utf8 string, sys.argv will try to decode the first arg using some encoding, which may not utf8, so the program may fail. If I can access the args without calling sys.argv, the conversion will not be done.
Can anyone help me with a solution?