Dear Nat, Thanks for the trick. This sounds like a good method, in general. I will do this when I finish debugging my code and start to work on many files. I was just curious if we can do this in a program. Perhaps this is actually a Python problem, not a Pymol specific problem.
Regards, K.K.Liang > Message: 3 > From: Nathaniel Echols <n...@mail.csb.yale.edu> > Subject: Re: [PyMOL] Suppress some output > > Is there a way to keep my program 'quiet', > > or I can customize the output message myself? > Depending on your OS and shell, something like this may work: > denethor:~ > /usr/local/pymol/pymol.com >/dev/null 2>/dev/null > This works under Bash in any modern Linux distribution, from what I've > seen. I suspect it would work on Irix too (still using Bash). I've had > the exact same problem- mainly with util.rainbow(). > -Nat