Import PackageName as pn



As a Python user, I am really comfortable with

import PackageName as pn
import pandas as pd
import numpy as np

Is there similar in Julia or planned in the future? It really helps to not mess up name spaces & find available method etc… And, I guess I can always do PackageName.{method}, but that’s verbose.



const pn = PackageName


There is an open issue on this topic: I think this will not be in Julia 1.0 but may be added in the future (at least, I hope so).



Close enough. Thank u,


Put in my .juliarc.jl, as soon as I saw it. Will be constantly used with great appreciation! :smiley: