deprecated python3 no warning code example Example: ignoring warnings import warnings warnings.filterwarnings(action= 'ignore')