Best practice for storing data in Packages

Welcome to the Julia community! See if this works:

project_path(parts...) = normpath(joinpath(@__DIR__, "..", parts...))

mydata = deserialize(project_path("data/mydata"))

I don’t remember who I stole the project_path function from but it was from another user on here :wink:

5 Likes