Parse String Into Array Python Methods