How do I get rid of unwanted debug output when importing pyobjc AppKit with Python 3.7
问题 A script consisting of a single statement import AppKit Prints the following to stdout/stderr with Python 3.7 (maybe also other 3.x versions but not with Python 2.7) bool b'B' <classmethod object at 0x10b41e510> <function ivar.bool at 0x10b464440> char b'c' <classmethod object at 0x10b41e4d0> <function ivar.char at 0x10b4644d0> int b'i' <classmethod object at 0x10b41e0d0> <function ivar.int at 0x10b464560> short b's' <classmethod object at 0x10b41e210> <function ivar.short at 0x10b4645f0>