Incorrect PyCharm correction when importing py script

I have a project, it has several folders and one of them contains two py script script_a.py and script_b.py. In script_a.py I import everything from script_b.py: "from script_b import *". Then when I use a function from script_b in script_a, PyCharm underlines this function and my import with error: "unresolved reference", although the script works fine. How do I fix it? Also, it's very annoying because sometimes PyCharm sometime focuses on these errors when I'm writing something else, so I need manually press Esc to ignore it.

0
2 comments
Avatar
Permanently deleted user

Thank you. It helped

0

Please sign in to leave a comment.