Thanks to visit codestin.com
Credit goes to github.com

Skip to content

numpy.fromfile does not accept StringIO object (Trac #1634) #2230

@numpy-gitbot

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/1634 on 2010-10-11 by trac user foobaron, assigned to unknown.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions