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


Groups > comp.lang.python > #75158

Re: How can I import unnecessary_math?

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 <ian.g.kelly@gmail.com>
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 <ian.g.kelly@gmail.com>
Date Thu, 24 Jul 2014 11:42:46 -0600
Subject Re: How can I import unnecessary_math?
To Python <python-list@python.org>
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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12284.1406223810.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, Jul 24, 2014 at 11:33 AM, fl <rxjwg98@gmail.com> 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 "<interactive input>", line 1, in <module>
> 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.

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


Thread

How can I import unnecessary_math? fl <rxjwg98@gmail.com> - 2014-07-24 10:33 -0700
  Re: How can I import unnecessary_math? Chris Angelico <rosuav@gmail.com> - 2014-07-25 03:37 +1000
    Re: How can I import unnecessary_math? fl <rxjwg98@gmail.com> - 2014-07-24 10:48 -0700
      Re: How can I import unnecessary_math? fl <rxjwg98@gmail.com> - 2014-07-24 10:54 -0700
        Re: How can I import unnecessary_math? Chris Angelico <rosuav@gmail.com> - 2014-07-25 03:58 +1000
          Re: How can I import unnecessary_math? fl <rxjwg98@gmail.com> - 2014-07-24 11:18 -0700
        Re: How can I import unnecessary_math? Terry Reedy <tjreedy@udel.edu> - 2014-07-24 14:17 -0400
        Re: How can I import unnecessary_math? Chris Angelico <rosuav@gmail.com> - 2014-07-25 04:25 +1000
  Re: How can I import unnecessary_math? Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-24 11:42 -0600

csiph-web