View Single Post
Old 07-15-2011, 07:50 PM   #14
j.p.s
Fanatic
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 551
Karma: 3770218
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by pdurrant View Post
Give it a try and let me know what you think.
Nice program! Thanks!

Would you consider changing all the print statements except the last to use:
sys.stderr.write()
instead of print?

This would be usefull when the output from multiple calls is redirected to a file as in the following bash script:
Code:
for name in *
do
    echo $name >> results.txt
    drmcheck.py $name >> results.txt
done
j.p.s is offline   Reply With Quote