1 #!/usr/bin/env python3 2 # Print the arguments that were passed to this script, 3 # as a repr()'d Python list so you can see exactly what 4 # the args were. 5 import sys 6 print(sys.argv) 7 if not sys.stdin.isatty(): 8 print("STDIN:") 9 print(repr(sys.stdin.read()))