I am using Python 3.2.1 and I can\'t import the StringIO module. I use io.StringIO and it works, but I can\'t use it with numpy\'s
StringIO
io.StringIO
numpy
On Python 3 numpy.genfromtxt expects a bytes stream. Use the following:
numpy.genfromtxt
numpy.genfromtxt(io.BytesIO(x.encode()))