On 06/09/12 15:10, Dave Angel wrote:
except Exception, err: print 'Caught an exception'You should probably send this and any other error messages to stderr, as stdout is presumably being consumed by the robot.
And you probably shouldn't use such a bland error message for every possible error. At the very least print the error type but better
still store the error data in a log file if you can't just print it out. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
