Wednesday, 27 April 2011

Вывод ошибок на stderr в Python

import sys
print >> sys.stderr, 'This is error!'


http://stackoverflow.com/questions/939866/pythons-print-vs-stderr

No comments:

Post a Comment

Note: only a member of this blog may post a comment.