sage: import_statements("var")

then you just have to copy-paste from sage.calculus.var import var in the beginning of your file.