How to ignore deprecation warnings in Python
I keep getting this : DeprecationWarning: integer argument expected, got float How do I make this message go away? Is there a way to avoid warnings in Python? Stephan202 From documentation of the warnings module : #!/usr/bin/env python -W ignore::DeprecationWarning If you're on Windows: pass -W ignore::DeprecationWarning as an argument to Python. Better though to resolve the issue, by casting to int . (Note that in Python 3.2, deprecation warnings are ignored by default.) Eddy Pronk I had these: /home/eddyp/virtualenv/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted