Change Layer

can you change what layer an object is on using python?