Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!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.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'nameerror:': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; "'itertools'": 0.16; 'error.': 0.21; 'defined': 0.22; 'cc:2**0': 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'reply.': 0.28; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38 Newsgroups: comp.lang.python Date: Thu, 4 Oct 2012 14:31:19 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=209.214.209.61; posting-account=7tqB8QoAAAA7bxs1K8Gn7hSbQPXdDOzg References: <7c7beccb-72e4-4cfb-958d-4a7235076fb3@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 209.214.209.61 MIME-Version: 1.0 Subject: Re: sum function From: Mike To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349386287 news.xs4all.nl 6848 [2001:888:2000:d::a6]:49605 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30750 Thanks Ian for the quick reply. I get the below error. NameError: name 'itertools' is not defined Thanks