SyntaxFix
Write A Post
Hire A Developer
Questions
You could also add the subdirectory to your Python path so that it imports as a normal script.
import sys sys.path.insert(0, <path to dirFoo>) import Bar