The code is very simple two words
The import of logging
Logging. Warning (' Here is warning information ')
If I written in python IDLE, won't appear problem, appear on the console as follows: the content of the
WARNING: the root: here is WARNING
But if I use VSCODE to do so, can appear problem, problem is as follows:
AttributeError: partially initialized module 'logging has no attribute' warning '(most likely due to a circular import)
What reason is this excuse me, thank you!
CodePudding user response:
No one see it? The great god are busy doing