Re: [Tutor] Not Really Questions

2006-06-04 Thread Alan Gauld
>> Not quite. In math zero is usually the starting point, its >> generally >> viewed as a positive number(although it is obviously neither >> positive >> or negative) > That is just not true. A number is positive if and only if it is > strictly greater than 0 by definition. Zero is not consider

[Tutor] problem with unpickling an object

2006-06-04 Thread Yi Qiang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, I am pickling a dictionary that has as one of it's values an object I create on the fly. When I try to unpickle that object, cPickle attempts to recreate that object but of course that module is not present anymore. How can I just make it sk

Re: [Tutor] Not Really Questions

2006-06-04 Thread w chun
hi john, everyone else has posted great replies to your inquiries, so i'll keep mine brief. > While the list is kind of slow I thought I'd post a few thoughts on a couple > of things in Python that bug me. my 1st comment is that you are not talking about Python alone. everything you state pertai

Re: [Tutor] Not Really Questions

2006-06-04 Thread ron
I think we should say that the number set is zero through nine (not 1-10 as we were taught in school), making "zero" the first number in the set; thus the offset by one. Of course zero is not a number, but a placeholder for a number. Thankfully this concept was invented a few centuries ago in India

Re: [Tutor] Not Really Questions

2006-06-04 Thread Tim Johnson
* Hugo González Monteverde <[EMAIL PROTECTED]> [060604 13:04]: > > Exactly, everything else other than programming. Zero indexed arrays are > the norm in everything but moronic old VB. I guess it's just a defacto > standard now. I make equal parts of my income from writing python code and fr

Re: [Tutor] Not Really Questions

2006-06-04 Thread Yi Qiang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan Gauld wrote, On 06/04/2006 04:01 PM: > Hi John, > > I'll pitch in although I've read most of the other answers > too so I'll be adding to them mostly. > >> The first one is lists... I can't for the life of me understand why >> a list >> starts

Re: [Tutor] Not Really Questions

2006-06-04 Thread Alan Gauld
Hi John, I'll pitch in although I've read most of the other answers too so I'll be adding to them mostly. > The first one is lists... I can't for the life of me understand why > a list > starts at zero. In everything else in life other than programming Not quite. In math zero is usually the sta

Re: [Tutor] Not Really Questions

2006-06-04 Thread Hugo González Monteverde
John Connors wrote: > > The first one is lists... I can't for the life of me understand why a list > starts at zero. In everything else in life other than programming the 1st > item in a list is always 1. Hi, Exactly, everything else other than programming. Zero indexed arrays are the norm in

Re: [Tutor] Not Really Questions

2006-06-04 Thread Kent Johnson
John Connors wrote: > G'day, > > While the list is kind of slow I thought I'd post a few thoughts on a couple > of things in Python that bug me. They're not really questions but maybe > someone can help me understand. Maybe I can give you some not-really answers ;) > > The first one is lists..

Re: [Tutor] Not Really Questions

2006-06-04 Thread Bob Gailer
John Connors wrote: G'day, While the list is kind of slow I thought I'd post a few thoughts on a couple of things in Python that bug me. They're not really questions but maybe someone can help me understand. The first one is lists... I can't for the life of me understand why a list star

Re: [Tutor] Not Really Questions

2006-06-04 Thread Dustin J.Mitchell
Let me see if I can tackle these.. On Jun 4, 2006, at 8:33 AM, John Connors wrote: > The first one is lists... I can't for the life of me understand why a > list > starts at zero. In everything else in life other than programming the > 1st > item in a list is always 1. > > The next thing I don'

[Tutor] Not Really Questions

2006-06-04 Thread John Connors
G'day, While the list is kind of slow I thought I'd post a few thoughts on a couple of things in Python that bug me. They're not really questions but maybe someone can help me understand. The first one is lists... I can't for the life of me understand why a list starts at zero. In everything e