Import exs file to other exs file

Hi all

I wrote a module and save as a script file and I created an another module that is a script too.
Now I need a module from the second script file.
How can I import a module from a script file?

1 Like

Perhaps you are searching for Code.load_file/1/2 or Code.require_file/1/2.

1 Like