Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.041 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'nameerror:': 0.09; 'cc:addr:python-list': 0.10; 'functools': 0.16; 'wrote:': 0.17; 'module': 0.19; 'import': 0.21; 'defined': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'mike': 0.27; 'library.': 0.27; 'error': 0.30; 'pm,': 0.35; 'subject:: ': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Reply- To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72 Date: Thu, 04 Oct 2012 17:39:50 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Mike Subject: Re: sum function References: <7c7beccb-72e4-4cfb-958d-4a7235076fb3@googlegroups.com> <307d5843-af17-4079-8a48-f8d7351a1d7b@googlegroups.com> In-Reply-To: <307d5843-af17-4079-8a48-f8d7351a1d7b@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:2LN5v5/wgZmCXaaFrr0eX8Vub2HueC7zV2oDFjK1tfc 11NfqV2kF36OcpSpnS+apF1ITr6FWxCf1Lk+BWbB37Vv4sEh1c bYYr9bDTyVwE1HT7OyMU8qOV0BTAz8DgWHFLwLqvcrTeoSyIP+ pZoN7oEkoIZpGA/abeG/6ve4fJDD4RYaRUxeyy8DzMpgGZyrmt gsB/5otR3sFInk/NlR/QT6o4niSapCmLz8+ZC6A58t5vdpeYWd PBCFIWW4R+KGfwZmKJm+2rLTBl5D1JqxIQOAsAmLj+UKJJl+P8 yvuu5ASVrCCswWiannDVocs7avZ+l1wmdM7aPtj7n/PxC9S4Q= = Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349386825 news.xs4all.nl 6849 [2001:888:2000:d::a6]:58803 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30751 On 10/04/2012 05:29 PM, Mike wrote: > I get below error > > NameError: name 'functools' is not defined > functools is a module in the standard library. You need to import it. import functools -- DaveA