Gabriele Brambilla wrote:
> ok.
> the problem is that my "errors" are not always the same and sometimes they
> are only differences in the results displayed (with the same starting data
> and no random variables used between).
Sometimes randomness lurks where you don't expect it. Are there any di
ok.
the problem is that my "errors" are not always the same and sometimes they
are only differences in the results displayed (with the same starting data
and no random variables used between).
so it's difficult for me to understand where the error is (and to give you
a piece of code that can run).
On Mon, Feb 3, 2014 at 2:17 PM, Gabriele Brambilla
wrote:
> No, i'm not using lowlevel stuff...which part of the script do you want to
> see?
Since you asked, what we'd really like to see is a Short, Self
Contained, Compilable Example (see http://sscce.org/). That is, an
example that is short e
Gabriele Brambilla wrote:
> No, i'm not using lowlevel stuff...which part of the script do you want
> to see?
The part that remains when you throw out everything that has no effect on
the "strange errors" ;)
For example if you have a routine
def load_data(filename):
... # do complex proc
No, i'm not using lowlevel stuff...which part of the script do you want to
see?
thanks
Gabriele
2014-02-03 Peter Otten <__pete...@web.de>:
> Gabriele Brambilla wrote:
>
> > an example of errors that I obtain is: I build a matrix (SciPy array)
> > using the same data.
> > I search for the maxi
Gabriele Brambilla wrote:
> an example of errors that I obtain is: I build a matrix (SciPy array)
> using the same data.
> I search for the maximum and the minimum with the given function and I
> insert the two values in a tuple that I print.
> sometimes it print to me this: (0.0, 3.19266766501244
>an example of errors that I obtain is: I build a matrix (SciPy array) using
>the same data.
>I search for the maximum and the minimum with the given function and I insert
>the two values in a tuple that I print.
>sometimes it print to me this: (0.0, 3.1926676650124463e-14)
>sometimes it print t
an example of errors that I obtain is: I build a matrix (SciPy array) using
the same data.
I search for the maximum and the minimum with the given function and I
insert the two values in a tuple that I print.
sometimes it print to me this: (0.0, 3.1926676650124463e-14)
sometimes it print to me: (na
t: Sunday, 2 February 2014, 17:31
>Subject: Re: [Tutor] strange errors
>
>
>
>I use windows 7 command prompt. doing
>
>
>python .py
>
>
>the errors are various...when I will get them again I will write them!
>
>
>thanks
>
>
>Gabriele
>
>
>
On 02/02/14 02:11, Gabriele Brambilla wrote:
sometimes when I try to run a program in Python I obtain some errors.
How are you running the program?
doubly clicking in a file manager/explorer?
Running from an OS command line?
Importing from the Python >>> prompt?
Or using some kind of IDE? (Wh
Hi,
sometimes when I try to run a program in Python I obtain some errors.
The strange thing is that sometimes when I run it a second time or when I
turn off the pc and I restart later to try to make it works it gives
different errors.
How could I avoid this problem? I think that it is because it
11 matches
Mail list logo