inout() documentation code example
Example: *open(0) in python
stdout = open(1, "w")
stdout.write("Hello World") # Prints Hello World
stdout.close()
stdout = open(1, "w")
stdout.write("Hello World") # Prints Hello World
stdout.close()