Re: [Tutor] Intermediate/advanced concepts

2008-11-07 Thread Kent Johnson
On Fri, Nov 7, 2008 at 6:16 PM, Alan Gauld <[EMAIL PROTECTED]> wrote: > True, but its pretty rare that timing issues are a reason for me to choose a > data structure I would guess you commonly choose a dict or set over a list when you need fast tests for membership. Failure to choose dict when ap

Re: [Tutor] Intermediate/advanced concepts

2008-11-07 Thread Alan Gauld
"Kent Johnson" <[EMAIL PROTECTED]> wrote For example a linked list is pretty much a Python list. Other than the very different timing characteristics! True, but its pretty rare that timing issues are a reason for me to choose a data structure - especially if I need to hand code it! :-)

Re: [Tutor] Intermediate/advanced concepts

2008-11-07 Thread Lie Ryan
On Thu, 06 Nov 2008 23:14:38 -0500, btkuhn wrote: > Hi everyone, > > I've been teaching myself python for a few months and I'm becoming > frustrated because I've kind of hit a wall in terms of learning new > information. In an effort to continue to learn I've found some material > on more interme

Re: [Tutor] Intermediate/advanced concepts

2008-11-07 Thread Kent Johnson
On Fri, Nov 7, 2008 at 4:12 AM, Alan Gauld <[EMAIL PROTECTED]> wrote: > For example a linked list is > pretty much a Python list. Other than the very different timing characteristics! Python lists are O(1) for reading or writing a value at an index, O(n) for inserting and deleting. Linked lists ar

Re: [Tutor] Intermediate/advanced concepts

2008-11-07 Thread Kent Johnson
On Thu, Nov 6, 2008 at 11:14 PM, <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I've been teaching myself python for a few months and I'm becoming > frustrated because I've kind of hit a wall in terms of learning new > information. You might like to read the (printed) Python Cookbook. It has many

Re: [Tutor] Intermediate/advanced concepts

2008-11-07 Thread W W
On Fri, Nov 7, 2008 at 4:12 AM, Eric Abrahamsen <[EMAIL PROTECTED]>wrote: > >> > > Also, are there other concepts that I should focus on? Frankly, I'm a bit >> bored because I've hit this ceiling, and I'm not really sure where to go to >> next. > > If you want to learn all sorts of new and exciti

Re: [Tutor] Intermediate/advanced concepts

2008-11-07 Thread Eric Abrahamsen
On Nov 7, 2008, at 12:14 PM, [EMAIL PROTECTED] wrote: Hi everyone, I've been teaching myself python for a few months and I'm becoming frustrated because I've kind of hit a wall in terms of learning new information. In an effort to continue to learn I've found some material on more interm

Re: [Tutor] Intermediate/advanced concepts

2008-11-07 Thread Alan Gauld
<[EMAIL PROTECTED]> wrote on more intermediate/advanced topics like linked lists, nodes, trees, etc. However, it's kind of like reading a math textbook Thats because these are abstract theoretical concepts at the root of programming but not used much in practice in high level languages like P

[Tutor] Intermediate/advanced concepts

2008-11-06 Thread btkuhn
Hi everyone, I've been teaching myself python for a few months and I'm becoming frustrated because I've kind of hit a wall in terms of learning new information. In an effort to continue to learn I've found some material on more intermediate/advanced topics like linked lists, nodes, trees, etc