Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30752

Re: sum function

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'nameerror:': 0.09; 'received:mail-vc0-f174.google.com': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'functools': 0.16; 'module:': 0.16; 'oct': 0.16; 'wrote:': 0.17; 'import': 0.21; 'defined': 0.22; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'mike': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.220.174': 0.29; 'fri,': 0.30; 'error': 0.30; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40
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:to :content-type; bh=pn/CREslK6Th9CzF9kI2XCvMo4LiTT22pQrBXdnUr3k=; b=umOBb+JwClkm038J6mjh0pO7qS5sniOBmsE0o5HmkJNvt9bGhacMCWpkM0KYPC7FPU u3b2zMJrPN/WuYsk6UUS9xtxfE/kZtF6scbzdJWmR0vdLKM4oZJXO/V7z7wc2PXxlQaB VTU4i4C5BbjcZZOW18F7U3jTDUBAUkCP1mGdrvraiRvvxiKLam2Oxi6MDngROIl7UbK1 rqysDCBrkiAtNS9zx6Zr0/HUJcHSwE6o7gEKsNa7ZPgxH1yhTI12i4yIYTdyEJifkDij SIuR02Ipjt+Zf9IuUTAFat3obcSMV5lSjDQoi8KtkIBvkvkq0arSfQHp0bqhVxam5o/9 nW5g==
MIME-Version 1.0
In-Reply-To <307d5843-af17-4079-8a48-f8d7351a1d7b@googlegroups.com>
References <7c7beccb-72e4-4cfb-958d-4a7235076fb3@googlegroups.com> <CALwzidnEKReQiHNEHekFByxEENQbvOHff8L=AOk2Hir7J1dN4g@mail.gmail.com> <mailman.1810.1349384780.27098.python-list@python.org> <307d5843-af17-4079-8a48-f8d7351a1d7b@googlegroups.com>
Date Fri, 5 Oct 2012 07:34:41 +1000
Subject Re: sum function
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1814.1349386894.27098.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1349386894 news.xs4all.nl 6904 [2001:888:2000:d::a6]:59586
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30752

Show key headers only | View raw


On Fri, Oct 5, 2012 at 7:29 AM, Mike <mike20007@gmail.com> wrote:
> I get below error
>
> NameError: name 'functools' is not defined
>
> Thanks

functools is a module:

import functools

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

sum function mike20007@gmail.com - 2012-10-04 13:52 -0700
  Re: sum function Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-04 15:04 -0600
    Re: sum function Mike <mike20007@gmail.com> - 2012-10-04 14:31 -0700
    Re: sum function Mike <mike20007@gmail.com> - 2012-10-04 14:31 -0700
  Re: sum function Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-04 15:05 -0600
    Re: sum function Mike <mike20007@gmail.com> - 2012-10-04 14:29 -0700
      Re: sum function Dave Angel <d@davea.name> - 2012-10-04 17:39 -0400
        Re: sum function Mike <mike20007@gmail.com> - 2012-10-04 17:40 -0700
          Re: sum function Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-04 18:59 -0600
            Re: sum function Mike <mike20007@gmail.com> - 2012-10-04 19:01 -0700
              Re: sum function Ramchandra Apte <maniandram01@gmail.com> - 2012-10-05 01:31 -0700
              Re: sum function Ramchandra Apte <maniandram01@gmail.com> - 2012-10-05 01:31 -0700
            Re: sum function Mike <mike20007@gmail.com> - 2012-10-04 19:01 -0700
        Re: sum function Mike <mike20007@gmail.com> - 2012-10-04 17:40 -0700
      Re: sum function Chris Angelico <rosuav@gmail.com> - 2012-10-05 07:34 +1000
    Re: sum function Mike <mike20007@gmail.com> - 2012-10-04 14:29 -0700
  Re: sum function Mike <mike20007@gmail.com> - 2012-10-05 06:39 -0700
    Re: sum function Ramchandra Apte <maniandram01@gmail.com> - 2012-10-05 06:41 -0700
      Re: sum function Mike <mike20007@gmail.com> - 2012-10-05 06:47 -0700
        Re: sum function Terry Reedy <tjreedy@udel.edu> - 2012-10-05 14:52 -0400
          Re: sum function Mike <mike20007@gmail.com> - 2012-10-05 13:09 -0700
            Re: sum function Dave Angel <d@davea.name> - 2012-10-05 16:26 -0400
              Re: sum function Ramchandra Apte <maniandram01@gmail.com> - 2012-10-06 05:38 -0700
          Re: sum function Mike <mike20007@gmail.com> - 2012-10-05 13:09 -0700
    Re: sum function Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-05 13:29 -0600
  Re: sum function Mike <mike20007@gmail.com> - 2012-10-05 13:03 -0700
    Re: sum function Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-05 14:10 -0600
      Re: sum function Mike <mike20007@gmail.com> - 2012-10-05 14:19 -0700

csiph-web