On Jul 23, 3:30 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Manu Hack wrote:
> > by the way, anyone could explain why changing to single quote makes a
> > difference?
>
> > >>> "rb" == 'rb'
> > True
>
> There's no difference between single quotes and double quotes in Python.
> My guess is c
t;[EMAIL PROTECTED]> wrote:
> One question : Did you remember to open the file in binary mode?
> This MUST be done on windows.
> On 22 jul 2008, at 06.36, jadamwil wrote:
>
>
>
> > Hello,
> > I am using the numpy fromfile function to read binary data from a file
> >
On Jul 22, 8:35 am, jadamwil <[EMAIL PROTECTED]> wrote:
> On Jul 22, 2:05 am, Uwe Schmitt <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > jadamwil schrieb:
>
> > > Hello,
> > > I am using the numpy fromfile function to read binary data from a file
>
On Jul 22, 2:05 am, Uwe Schmitt <[EMAIL PROTECTED]>
wrote:
> jadamwil schrieb:
>
>
>
> > Hello,
> > I am using the numpy fromfile function to read binary data from a file
> > on disk. The problem is that the program runs fine on a Mac, but gives
> > an
Hello,
I am using the numpy fromfile function to read binary data from a file
on disk. The problem is that the program runs fine on a Mac, but gives
an error or warning on windows when trying to read the data. I use it
like this:
Signal = zeros((N, 16), dtype=float32)
for sample in range(0, N):