"track axis" for duplis in python?

sorry to post so many questions lately.

 	 	 		 		 		How can I change the "Track Axis" settings on the Object Anim settings pallette? The buttons that look like:

“TrackX | Y | Z | -X | -Y | -Z UpX | Y | Z”

I need to change the orientation of an object that I have dupliframed in my script. I found constraints that have similar settings in the API, but can’t find those particular buttons. Does rotating the actual object do the same exact thing?