How To Convert An Array To List In Python