warnings filter?
rob at encodia.biz
rob at encodia.biz
Thu Jul 8 10:10:50 EDT 2004
More information about the Python-list mailing list
Thu Jul 8 10:10:50 EDT 2004
- Previous message (by thread): warnings filter?
- Next message (by thread): Recursion and Generators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In Python 2.3, this code still prints a warning (when run as a script,
not from the interpreter). How do I get rid of the warning? I'd like
to do it without passing command line args to python.
import warnings
warnings.filterwarnings('ignore')
a = 0xffffffff
Thanks,
Rob
- Previous message (by thread): warnings filter?
- Next message (by thread): Recursion and Generators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list