Python Array Built In Functions In Stringstream