[wxPython-users] Application Breaks Using Python-2.5 -- FIXED
Rich Shepard
rshepard at appl-ecosys.com
Mon Nov 12 15:31:56 PST 2007
On Mon, 12 Nov 2007, Chris Mellon wrote:
> I'm not sure why this would be working anywhere else, but len(range(0,
> 34)) is 34, not 33.
Chris,
I was puzzled, too, since that did not see correct to me, but it was
working just fine yesterday on my desktop workstation with the older
python/wxPython. That's why I assumed range stopped at n-1.
Regardless, changing the 34 to 33 fixed that problem.
> By the way, the 0 is not neccassary, range defaults to starting from 0.
Ah, yes.
Many thanks,
Rich
--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
More information about the wxpython-users
mailing list