read for python

I want to read a xtd file for python. how can i  read file?