`from nupic.encoders.base import firstThing, secondThing`

And of course replace `firstThing, secondThing` with the items that you use in this file.