SyntaxFix
Write A Post
Hire A Developer
Questions
Because your code contains if __name__ == "__main__", which doesn't be imported as a package, you'd better use sys.path.append() to solve the problem.
if __name__ == "__main__"
sys.path.append()