Re: Tuple vs List: Whats the difference?

2007-07-12 Thread Dave Baum
In article [EMAIL PROTECTED], Shafik [EMAIL PROTECTED] wrote: Hello folks, I am an experienced programmer, but very new to python (2 days). I wanted to ask: what exactly is the difference between a tuple and a list? I'm sure there are some, but I can't seem to find a situation where I can

Re: Tuple vs List: Whats the difference?

2007-07-12 Thread Hendrik van Rooyen
Shafik [EMAIL PROTECTED] wrote: Hello folks, I am an experienced programmer, but very new to python (2 days). I wanted to ask: what exactly is the difference between a tuple and a list? I'm sure there are some, but I can't seem to find a situation where I can use one but not the other.

Re: Tuple vs List: Whats the difference?

2007-07-12 Thread Ben Finney
Dave Baum [EMAIL PROTECTED] writes: In article [EMAIL PROTECTED], Shafik [EMAIL PROTECTED] wrote: what exactly is the difference between a tuple and a list? I'm sure there are some, but I can't seem to find a situation where I can use one but not the other. Lists and tuples are both

Re: Tuple vs List: Whats the difference?

2007-07-12 Thread Shafik
Thanks to all of you, Im sure I'll pick your brains some more later down the line. --Shafik -- http://mail.python.org/mailman/listinfo/python-list

Tuple vs List: Whats the difference?

2007-07-11 Thread Shafik
Hello folks, I am an experienced programmer, but very new to python (2 days). I wanted to ask: what exactly is the difference between a tuple and a list? I'm sure there are some, but I can't seem to find a situation where I can use one but not the other. Thanks in advance, --Shafik --

Re: Tuple vs List: Whats the difference?

2007-07-11 Thread Joe Riopel
On 7/11/07, Shafik [EMAIL PROTECTED] wrote: I am an experienced programmer, but very new to python (2 days). I wanted to ask: what exactly is the difference between a tuple and a list? I'm sure there are some, but I can't seem to find a situation where I can use one but not the other. The

Re: Tuple vs List: Whats the difference?

2007-07-11 Thread Alexander Schmolck
Shafik [EMAIL PROTECTED] writes: Hello folks, I am an experienced programmer, but very new to python (2 days). I wanted to ask: what exactly is the difference between a tuple and a list? I'm sure there are some, but I can't seem to find a situation where I can use one but not the other.

Re: Tuple vs List: Whats the difference?

2007-07-11 Thread Shafik
On Jul 11, 12:05 pm, Alexander Schmolck [EMAIL PROTECTED] wrote: Shafik [EMAIL PROTECTED] writes: Hello folks, I am an experienced programmer, but very new to python (2 days). I wanted to ask: what exactly is the difference between a tuple and a list? I'm sure there are some, but I can't