8000 numpy.fromfile does not accept StringIO object (Trac #1634) · Issue #2230 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
numpy.fromfile does not accept StringIO object (Trac #1634) #2230
Open
@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

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0