On Wed, Jun 23, 2010 at 7:11 AM, Steven Howe <howe.ste...@gmail.com> wrote:
> Hi, I'm trying to import 'letters' from the string module.
> I get the following message:
>
>    Uses of a deprecated module 'string'
>
> I realize the functionality of 'string' is now in the _builtin_. But are the
> constants. If so, what are they called. I tried 'letters', but got:
>
>    NameError: name 'letters' is not defined
>
> Thanks for any help.

What python version ?

In python 3.1.x the "string" module is just a collection of string
constants which obviously still exists. I believe it's the use
of said "functions" from the old "string" module that are
deprecated.

cheers
James
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to