Home > Blockchain >  How to hide python message in terminal
How to hide python message in terminal

Time:09-18

I'm using python module IPTCInfo3, and every time I export data I get this message in terminal.

Marker scan hit start of image data

What to do to hide this message? I need terminal clean.

CodePudding user response:

If I refer to the source code here, here and here, you can try:

logging.getLogger("iptcinfo").setLevel(logging.ERROR)

after importing the module

  • Related