tramtran
Contributor

Thanks @Hkesharwani for your replying,

As DLT doesn't support the magic command %run, that's why I'm trying the import function way

my layout like this:

tramtran_0-1718612237964.png

other notebook:

import os
import sys
sys.path.append(os.path.abspath('/Workspace/Repos/[my repo]/dw/common_helper'))

 

from udf_check_table_exists import table_exists
 
But it always returns ModuleNotFoundError  error