python 3 import from the current directory To import a file from current directory use the following: sys.path.append('<absolute path>') import backend Rate this:Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading...