view Lib/test/subprocessdata/input_reader.py @ 80779:10d04bdb05ab 3.3

Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python. Patch by Zachary Ware.
author Antoine Pitrou <solipsis@pitrou.net>
date Sun, 09 Dec 2012 14:46:46 +0100
parents 668c4218ae26
children
line wrap: on
line source

"""When called as a script, consumes the input"""

import sys

if __name__ == "__main__":
    for line in sys.stdin:
        pass