replacement for string.printable
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Thu Aug 16 02:34:38 EDT 2007
On Wed, 15 Aug 2007 23:15:12 +0100, John K Masters wrote:
> help('string')
>
> DESCRIPTION
> Warning: most of the code you see here isn't normally used nowadays.
> Beginning with Python 1.6, many of these functions are
> implemented as methods on the standard string object. They used to be
> implemented by a built-in module called strop, but strop is now
> obsolete itself.
>
> <quote> Beginning with Python 1.6 </quote>
>
> We are now way past 1.6. Are you sure the string module is still being
> added to?
The `string.Template` class was added in Python 2.4:
http://docs.python.org/lib/node40.html
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list