openerp

How to import .py file from another directory?

How to import .py file from another directory? Question: I have this structure of files (directory and after arrow files): model -> py_file.py report -> other_py_file.py main __init__.py: import model import report model directory: import py_file report directory: import other_py_file now in other_py_file I want to import py_file, but what ever I try I give …

Total answers: 2