Python Get Array From String In Python Syntax List