Turn Of Warning Iin Python

import sys
import warnings

if not sys.warnoptions:
    warnings.simplefilter("ignore")
MonsterBoy