Python String Extract Method To New Interfaces