Message88970
#
# Python 3.0.1 can read piped input when invoked with a
# program name as the argument of the interpreter, but not
# when invoked implicitly by the file extension. On
# Windows xp the first command below runs successfully, the
# second ends with a diagnostic: 'NoneType' object has no
# attribute 'isatty'
#
#
# dir | e:\python30\python test17.py
# dir | test17.py
#
#
import sys
if sys.stdin.isatty(): pass |
|
Date |
User |
Action |
Args |
2009-06-05 19:59:23 | rtmq | set | recipients:
+ rtmq |
2009-06-05 19:59:23 | rtmq | set | messageid: <1244231963.89.0.682497283333.issue6212@psf.upfronthosting.co.za> |
2009-06-05 19:59:22 | rtmq | link | issue6212 messages |
2009-06-05 19:59:22 | rtmq | create | |
|