How can I read input from stdin pipe from somewhere? ex: # echo hello | script.py I was thinking opening file() or popen() with sys.stdin, but that didn't work. I've done this before but don't have the code anymore and can't figure it out again. Thanks. -Josh