Re: [Tutor] I am reading the tutorial alright?

2008-03-23 Thread Alan Gauld
"elis aeris" <[EMAIL PROTECTED]> wrote > looking back to my first post, it seems to be a little weak. Can you > suggest > something that I could have said? Your first post was downright confusing. Your second post was better because it described what you wanted. You did that by drawing comparis

Re: [Tutor] I am reading the tutorial alright?

2008-03-23 Thread Alan Gauld
"elis aeris" <[EMAIL PROTECTED]> wrote > in c++ i use array[n][n] to store things. > > how do i create an array like that? Please read any tutorial they nearly all cover multi dimensional lists. It is also easy to experiment at the >>> prompt. Just try the obvious thing - create a list of lists

Re: [Tutor] I am reading the tutorial alright?

2008-03-23 Thread Marc Tompkins
On Sun, Mar 23, 2008 at 4:24 PM, elis aeris <[EMAIL PROTECTED]> wrote: > Now I want to talk about this: how should I have asked my Q to let > everyone know what I was looking for? > > looking back to my first post, it seems to be a little weak. Can you > suggest something that I could have said? >

Re: [Tutor] I am reading the tutorial alright?

2008-03-23 Thread elis aeris
thanks for the reply, btw. On Sun, Mar 23, 2008 at 4:22 PM, Marc Tompkins <[EMAIL PROTECTED]> wrote: > On Sun, Mar 23, 2008 at 4:16 PM, elis aeris <[EMAIL PROTECTED]> wrote: > > > in c++ i use array[n][n] to store things. > > > > how do i create an array like that? > > > > Python doesn't have "ar

Re: [Tutor] I am reading the tutorial alright?

2008-03-23 Thread elis aeris
t =[ ["item1", "item2", "item3"], ["itemA", "itemB", "itemC"], ["itemI", "itemII", "itemIII"] ] yes this is what I am looking for. Now I want to talk about this: how should I have asked my Q to let everyone know what I was looking for? looking back to my first post, it seems to be a little weak

Re: [Tutor] I am reading the tutorial alright?

2008-03-23 Thread Marc Tompkins
On Sun, Mar 23, 2008 at 4:16 PM, elis aeris <[EMAIL PROTECTED]> wrote: > in c++ i use array[n][n] to store things. > > how do i create an array like that? > Python doesn't have "arrays". It has tuples, lists, and dictionaries. A quick Google will tell you the distinctions between them. It look

Re: [Tutor] I am reading the tutorial alright?

2008-03-23 Thread elis aeris
in c++ i use array[n][n] to store things. how do i create an array like that? On Sun, Mar 23, 2008 at 4:13 PM, bob gailer <[EMAIL PROTECTED]> wrote: > elis aeris wrote: > > t = 12345, 54321, "hello!" > > print t[0] > > > > the way the 3 items are saved and access fits my need, now how do I >

Re: [Tutor] I am reading the tutorial alright?

2008-03-23 Thread bob gailer
elis aeris wrote: > t = 12345, 54321, "hello!" > print t[0] > > the way the 3 items are saved and access fits my need, now how do I > make t have more than one entry so effectively I get this? > > t[n][n] > (1) are you going through the tutorials as requested? (2) please learn how to ask meaningfu

[Tutor] I am reading the tutorial alright?

2008-03-23 Thread elis aeris
t = 12345, 54321, "hello!" print t[0] the way the 3 items are saved and access fits my need, now how do I make t have more than one entry so effectively I get this? t[n][n] ? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listin