Error

D'Arcy J.M. Cain darcy at druid.net
Wed May 26 14:14:52 EDT 2010


On Wed, 26 May 2010 13:48:42 -0400
William Miner <william.miner at enig.com> wrote:
> #!/usr/bin/env python
> import sys, math, os, shutil, commands, re, mpmath
> from mpmath import *
> 
> When I deleted this line, the script ran. Why did the line
> 
> from mpmath import *
> 
> Trash the search function fro the regular expression module?

What is mpmath?  It isn't in the standard distribution.  My guess is
that it has an object called "re" that is overwriting the re module.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list