Python Linked list?

Michael P. Soulier msoulier at
Mon Oct 31 21:46:44 CET 2005

On 10/31/05, Simon Roses Femerling <simonroses at> wrote:
> I'm looking for a linked list class or lib ? Any suggestions ?

I'm not sure anyone would bother making one for Python. Why do you
feel that you need one?

Are dictionaries and lists not enough? Can you not simply make one via
references in a class?

class MyNode(object):
   next = None

Should do it, no?


Michael P. Soulier <msoulier at>

More information about the Python-list mailing list