Load a local module in Julia

Viewed 890

I've written a module in Julia using PkgTemplates package. The module is saved in C:/Users/me/.julia/dev/MyModule folder.

I cannot load the module in other sessions. I've tried push!(LOAD_PATH, path) but didn't work.

Only include("C:/Users/me/dev/MyModule/src/MyModule.jl") works but in this case I can only use the functions in the module using MyModule.myfunction().

I couldn't find any other way to load the module.

1 Answers
Related