[NumPy-Tickets] [NumPy] #1634: numpy.fromfile does not accept StringIO object

NumPy Trac numpy-tickets@scipy....
Mon Oct 11 17:34:55 CDT 2010


#1634: numpy.fromfile does not accept StringIO object
----------------------+-----------------------------------------------------
 Reporter:  foobaron  |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:  2.0.0   
Component:  Other     |     Version:  1.3.0   
 Keywords:            |  
----------------------+-----------------------------------------------------
 aArray = numpy.fromfile(signalfile, numpy.dtype('u1'), number_of_bytes)

 signalfile = <StringIO.StringIO instance at 0xa0008ec>1
 -->
 IOError: first argument must be an open file


 used python version: 2.6.5

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1634>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list