Show warning messages in console

已回答

Hi! 

I have a question.

How to disable output to the console messages like the warning?

0

Hi, could you give a bit more of an example, and perhaps a screenshot? Do you mean tracebacks in the Python Console, or warnings in the editor tab?

0
Avatar
Permanently deleted user

Yes, I mean tracebacks in the Python Console. 

0

This is more of a Python question than a PyCharm question, as those deprecation warnings are part of what the Python interpreter renders.

Obviously the right answer is to rewrite your code to not use functions that are deprecated by scikit and instead use the supported functions.

But if you really want to hide that (useful) information, you can read the Python docs about controlling warnings.

0
Avatar
Permanently deleted user

Ok. Thank you!

0
Avatar
Permanently deleted user

How to hide log warnings likes in this screenshot?

0

Hi Nejia! Do you receive this warning only in PyCharm? Could you please provide a code sample to reproduce it?

0
Avatar
Permanently deleted user

Hi,

I receive this warning in Windows console as well, is there a Pycharm setting to not display log messages (warning and information messages)?

thanks!

0
Avatar
Permanently deleted user

I think to hide warning message I must handle it in my app

0

请先登录再写评论。