print(t)
shouldn't the code above include the:
cat test.json | python nest.py name, age, location
json file passed to it?
i can't see the data piped from cat command.
sys.stdin
will receive an object but how would i use it!:)
via standard in.
sys.stdin is a file like object.
Обсуждают сегодня