记:pycharm运行时总是报红色提示 import imp
pycharm运行时总是报红色提示:
D:\JetBrains\PyCharm 5.0.4\helpers\pycharm\utrunner.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
import imp