Split Bash String Into Array Javascript Push Method In Python