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


Groups > comp.lang.python > #75158

Re: How can I import unnecessary_math?

References <15d1bd3b-48f1-45d8-985c-3a5a3691805b@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2014-07-24 11:42 -0600
Subject Re: How can I import unnecessary_math?
Newsgroups comp.lang.python
Message-ID <mailman.12284.1406223810.18130.python-list@python.org> (permalink)

Show all headers | 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