How To Write An Interface In Python