Advertisement
oort77

ignore warnings with some content

Jun 30th, 2022 (edited)
828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. import warnings
  2. warnings.filterwarnings('ignore', '.*deprecate.*', )
  3.  
  4. # or
  5.  
  6. python -W warningsexample.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement