Split A String Based On Character Python