Split String Based On Comma In Python A Class