Turning off warnings

Paulo Pinto paulo.pinto at cern.ch
Mon Dec 1 15:29:56 CET 2003


Hi,

I need to generate a temporary name for a
file and pass it as argument to a shell
script.

Now when I use os.tempnam() or os.tmpnam()
I get a runtime warning about security issues.

I am well aware of them, but in the context of
this application I really don't need to care
about it.

Is there any way to turn the message off?

Thanks,
Paulo





More information about the Python-list mailing list