In establishing python project, sometimes in order to distinguish between resources and code, as in the project folder and create a new img src two folders, then import the custom module will display an error, but the result of true feeling awkward. Such as:
This is because pycharm prompts are looking up from the root directory! Solution, the right-code file folder to select [Mark Directory as] -> [Sources Root] to .
After a normal, clean interface, but also the content can be presented in a custom module, the more fun to write code.