I’m working on a project that contains many Python files. To use one file in other, I have to import. I’m writing below command to import but I’m getting error.
import os import sys dir_path = os.path.dirname(os.abspath(__file__)) sys.path.append(os.join(dir_path, 'C:\Users\MAA COMPUTERS\Downloads\Compressed')) from NewContent import FirstPara
Can someone correct my mistakes? If you know any other method, I would appreciate it for sharing it with me.