writing a filter in python

David Bear david.bear at asu.edu
Wed Jun 5 18:42:04 EDT 2002


I'm writing a filter to be used by lprng.  Since there is no stdout I am 
wondering two things:

1) good strategies for showing error message (was thinking of syslog)

2) an easy way to catch all exceptions and quickly return back to the 
caller (lpd)  

I'm noticing that if my script doesnt run fast enough I may end up have lpd 
try multiple times to run it.  

Any advice?
-- 
David Bear
College of Public Programs/ASU
480-965-8257
...the way is like water, going where nobody wants it to go



More information about the Python-list mailing list