Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.047 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'nameerror:': 0.09; 'wed,': 0.15; '*do': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'code,': 0.23; 'defined': 0.23; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'message- id:@mail.gmail.com': 0.27; 'idea': 0.28; "skip:' 10": 0.28; 'work.': 0.30; 'code': 0.30; 'received:google.com': 0.35; 'execution': 0.35; 'list,': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; '12,': 0.37; 'why': 0.39; 'your': 0.60; 'back': 0.62; 'subject:skip:A 10': 0.63; 'url:tinyurl': 0.67; 'chrisa': 0.84; 'suggestion,': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=A6EdWtWm3xlfMFq237/uNFhJT78xmxQ3jyKAZyXvrPA=; b=gpWAVxRdR4IcHcHE67LFDq0DqbYocsKJEILvKKDaCV1xagg0gE/74NdaNSusOpIrBW 1oKkxod5SRtCQRq0VOe3QufemucdEyNRa7QDL56cBEIANEjPjt5x3uLP+cQirNPjF6bN o5b8cUxAq3hoGMhTHgMpqNxoa9Tec1pHQ5LwdbrL93nnPk9wV89nWbbxggXNApzkfchR iLQR8d8w6rtnwL7N6Hy4TqRO3KGZbyUhRNT5xfsZPQJDBL4bH8PzycwDxVmmwmGCxy+g V3pFe0A+2zATHsbVCGGoiO9H3kefLyLHOUtsNJygjVb4sXJNBJGUS7i3rCI1Tq/TAjvK /Flg== MIME-Version: 1.0 X-Received: by 10.50.221.107 with SMTP id qd11mr21869725igc.13.1439351390202; Tue, 11 Aug 2015 20:49:50 -0700 (PDT) In-Reply-To: References: <0baa3bd5-9f80-4d4e-9367-84e2a32d8c70@googlegroups.com> <55CA92BA.7070905@mrabarnett.plus.com> Date: Wed, 12 Aug 2015 13:49:50 +1000 Subject: Re: AttributeError From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1439351399 news.xs4all.nl 2890 [2001:888:2000:d::a6]:54022 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95271 On Wed, Aug 12, 2015 at 1:05 PM, Ltc Hotspot wrote: > > Check the code and the visualize execution of the code, available at > http://tinyurl.com/p8tgd5h > > message reads: NameError: name 'collections' is not defined I've no idea why you made this Frankenstein monster out of your original code and my suggestion, because there's no way that's going to work. Go back to the people who've helped you on the python-tutor list, and *do what they have requested* in terms of showing code, not top-posting, and so on. ChrisA