From: Sebastien M. <seb...@ig...> - 2006-03-10 16:29:27
|
> Hello, >=20 > yes. maybe. if you are talking about printing to standard error, then : >=20 > import sys > sys.stderr.write("hello, stderr!") >=20 > will do it. >=20 > if, on the other hand, you mean something more complicated to do with=20 > manipulating the shell ("redirection"...?) than I don't know, sorry. >=20 > gilleain torrance I would like to change the current path for stderr to /dev/null by exampl= e. I have a plugin which creates a legend box from a fake (empty) apdb map.=20 Instruction, which loads the map, sends an error message and I would=20 like to hide it. How can I do ? Thanks >=20 > Hello, > I would like to know if there is a way to manipulate standard error > redirection into pymol scripting language ? >=20 > Thanks --=20 S=E9bastien Moretti http://www.igs.cnrs-mrs.fr/ CNRS - IGS UPR 2589 163 Avenue de Luminy, case 934 13288 Marseille cedex 9 (France) |