> I understand... but don't blame me if it hurts your head ;)
First a few comments.
Theres an awful lot of superfluous "stuff" in there that would
make it much easier to read and work with.
The docstring does not appear to be accurate and there
are about 30 lines of commented code. Do you use
I understand... but don't blame me if it hurts your head ;)
The class is here:
http://python.pastebin.com/gPpep50Y
The function is here:
http://python.pastebin.com/faK0vZ8U
The issue is with the 'reflectance' method of the FlightData class
(line 76). You can see in the class definition I now jus
"John" wrote
I have a strange problem with a piece of code I've written. It's a
bit
overly complicated to make an example with, but the gist is below.
But
in the example below, it works. However, in my example, when I call
the method from within the function, it returns something other than
On 07/12/10 22:36, John wrote:
Hello,
I have a strange problem with a piece of code I've written. It's a bit
overly complicated to make an example with, but the gist is below. But
in the example below, it works. However, in my example, when I call
the method from within the function, it returns
Hello,
I have a strange problem with a piece of code I've written. It's a bit
overly complicated to make an example with, but the gist is below. But
in the example below, it works. However, in my example, when I call
the method from within the function, it returns something other than
what I expec