[Mailman-Users] Fwd: Uncaught runner exception
mark at msapiro.net
Thu Mar 14 13:40:13 EDT 2019
On 3/14/19 8:14 AM, Stephen J. Turnbull wrote:
> Lothar Schilling writes:
> > > What do you get if in that Python you do
> > >
> > > import string
> > > lowercase
> I think this should be 'string.lowercase'.
> > import string
> > lowercase
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > NameError: name 'lowercase' is not defined
> This is what I would expect. I'm not sure why Mark got something
> different (he may have previously done 'from string import *'). We
> apologize for the inaccuracy.
Yes, this was definitely an error on my part. I had initially done
from string import lowercase
but I wanted to see where 'string' came from so I did `import string` so
I could get that and thel when I did 'lowercase' instead of
'string.lowercase', it worked.
I apologize for the confusion.
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users