Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'importerror:': 0.07; 'explanation': 0.09; 'url:github': 0.09; 'subject:How': 0.10; '24,': 0.16; 'errors:': 0.16; 'runs,': 0.16; 'subject:import': 0.16; 'subject:skip:u 10': 0.16; 'url:py': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'library': 0.18; 'bit': 0.19; 'module': 0.19; 'thu,': 0.19; 'appears': 0.22; 'example': 0.22; 'import': 0.22; 'this:': 0.26; 'tutorials': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; '"",': 0.31; '>>>>': 0.31; 'file': 0.32; '(most': 0.33; 'anywhere': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'hi,': 0.36; 'searching': 0.37; 'on-line': 0.38; 'to:addr:python- list': 0.38; 'little': 0.38; 'recent': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'simple': 0.61; 'such': 0.63; 'jul': 0.74; 'url:master': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=+1M1xfdxBGbaQkuyRjY+wmoW9FgYgKNYR5Xskdk8LzU=; b=ld/vvZ3MYLXQhbymJjkOij4/oxD643PIX+sL/3DGzeFQIsG2ePbGmIH34JW4epKxuG hk4OFn0P5AS4mdPbNyE+jLmfz/R57LNcNxGQSpTg7Y3//R0GRGBBuBXxAxHidQvlUHkG t4SrNvXgznRSoDwQmuPOxxw2y5hEja6skuVxalSyoE02VVuME+eIs4wyXWIjWn+3fJmp YUSsLvgWCtXbsdKfTpTYiUniUp2jCg378gQ+0QgXC2IbTWtmM4tTWNRcomWQQCR+2twD K0j3kwi/t7EQ2s8Cu7QwrCJXmcvMPr8htOBEhrKWtepSejyBRb7VNdReOcr58RnNtVCv anCg== X-Received: by 10.67.30.130 with SMTP id ke2mr12591628pad.44.1406223806671; Thu, 24 Jul 2014 10:43:26 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <15d1bd3b-48f1-45d8-985c-3a5a3691805b@googlegroups.com> References: <15d1bd3b-48f1-45d8-985c-3a5a3691805b@googlegroups.com> From: Ian Kelly Date: Thu, 24 Jul 2014 11:42:46 -0600 Subject: Re: How can I import unnecessary_math? To: Python Content-Type: text/plain; charset=UTF-8 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: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1406223810 news.xs4all.nl 2911 [2001:888:2000:d::a6]:44621 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75158 On Thu, Jul 24, 2014 at 11:33 AM, fl wrote: > Hi, > I want to write some test code. Some on-line tutorials have such codes: > > > from unnecessary_math import multiply > > When it runs, it has errors: > >>>> from unnecessary_math import multiply > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named unnecessary_math > > I have not found anywhere to download it. What explanation about the module: > > from unnecessary_math import multiply A little bit of searching turns up this: https://github.com/okken/markdown.py/blob/master/simple_example/unnecessary_math.py It appears to be used as a simple example library for a doctesting demo.