Member-only story
How To NOT Display Warnings In Python (2 Lines Of Code)
Sep 4, 2022
# Stop annoying warnings from appearing in your Python code
1) No need to install anything
2) Run this code
import warnings
warnings.filterwarnings("ignore")
3) Enjoy your warning-free Python experience
Conclusion
Hope this helps!