# Revision history [back]

It seems you are trying to avoid cluttering the namespace? Then do this:

import sage.all
from sage.all import Matrix,vector,ZZ, MixedIntegerLinearProgram


kcrisman was right---lots of Sage depends on lots of other things in Sage, and importing just a piece (i.e., without doing import sage.all is definitely not supported and usually will break.

It seems you are trying to avoid cluttering the namespace? Then do this:

import sage.all
from sage.all import Matrix,vector,ZZ, MixedIntegerLinearProgram


kcrisman was right---lots of Sage depends on lots of other things in Sage, and importing just a piece (i.e., without doing import sage.all ) is definitely not supported and usually will break.

It seems you are trying to avoid cluttering the namespace? Then do this:

import sage.all
from sage.all import Matrix,vector,ZZ, MixedIntegerLinearProgram


kcrisman was right---lots of Sage depends on lots of other things in Sage, and importing just a piece (i.e., without doing import sage.all) is definitely not supported and usually will break.may often break or not provide any benefit.