PY3 array.array wants str in Python 2.x and 3.x - give it a str