how slice object with python

how can i use slice tool object by using python?