[Numpy-discussion] Difference in the number of elements in a fromfile() between Windows and Linux

Christopher Barker Chris.Barker at noaa.gov
Fri May 4 18:57:49 EDT 2007


Robert Kern wrote:
> "1.#INF" and "1.#QNAN" might be
> accepted though since that's what ftoa() gives for those quantities.

not in Python:

float("1.#INF")

gives a value error. That may or may not reflect what *scanf does, but I 
suspect it does.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov



More information about the NumPy-Discussion mailing list