[SOLVED] Re: Should "open(sys.stdin)" and "open(file, 'r')" be equivalent?

Simon Mullis simon at mullis.co.uk
Thu Feb 5 14:18:19 CET 2009


Forget it all... I was being very very daft!

The "default = 'False'" in the options for stdin was not being
evaluated as I thought, so the script was waiting for stdin even when
there was the glob switch was used...No stdin equals the script
seeming to "hang".

Ah well.

SM



More information about the Python-list mailing list