python代码运行后,一些信息感觉可以忽略的,如何将它们省略。已经使用了import warningswarnings.filterwarnings('ignore')但是没有用。
python -W ignore yourscript.py