How can I import unnecessary_math?

Ian Kelly ian.g.kelly at gmail.com
Thu Jul 24 13:42:46 EDT 2014


On Thu, Jul 24, 2014 at 11:33 AM, fl <rxjwg98 at 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.



More information about the Python-list mailing list