Re: replacement for string.printable

2007-08-15 Thread Marc 'BlackJack' Rintsch
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 > impl

Re: replacement for string.printable

2007-08-15 Thread Paul McGuire
On Aug 15, 1:56 pm, John K Masters <[EMAIL PROTECTED]> wrote: > >From what I have read the string module is obsolete and should not be > > used but I am working on a project that parses printable files created > in a DOS program and creates a web page for each file. I am using the > string.printabl

Re: replacement for string.printable

2007-08-15 Thread Jay Loden
John K Masters wrote: >>From what I have read the string module is obsolete and should not be > used but I am working on a project that parses printable files created > in a DOS program and creates a web page for each file. I am using the > string.printable constant to determine which characters sh

Re: replacement for string.printable

2007-08-15 Thread John K Masters
On 19:03 Wed 15 Aug , Marc 'BlackJack' Rintsch wrote: > On Wed, 15 Aug 2007 19:56:01 +0100, John K Masters wrote: > > > From what I have read the string module is obsolete and [???] > > The `string` module isn't obsolete. It even contains a more or less > recent new addition: `Template`. On

Re: replacement for string.printable

2007-08-15 Thread Marc 'BlackJack' Rintsch
On Wed, 15 Aug 2007 19:56:01 +0100, John K Masters wrote: > From what I have read the string module is obsolete and […] The `string` module isn't obsolete. It even contains a more or less recent new addition: `Template`. Only the functions that are also available as methods on `str` are depreca

replacement for string.printable

2007-08-15 Thread John K Masters
>From what I have read the string module is obsolete and should not be used but I am working on a project that parses printable files created in a DOS program and creates a web page for each file. I am using the string.printable constant to determine which characters should be kept; the files conta