Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91778

Re: What use of string module?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: What use of string module?
Date 2015-06-02 04:37 +0100
References <d3bf3182-d70e-4160-b600-733cbda748e6@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.36.1433216310.13271.python-list@python.org> (permalink)

Show all headers | View raw


On 02/06/2015 03:14, fl wrote:
> Hi,
>
> I read the online help about string. It lists string constants, string
> formatting, template strings and string functions. After reading these,
> I am still puzzled about how to use the string module.
>
> Could you show me a few example about this module?
>
> Thanks
>

I suggest you don't bother, it's effectively dead having been replaced 
by string methods.  See here 
https://docs.python.org/2/library/string.html#deprecated-string-functions and 
then compare to https://docs.python.org/3/library/string.html#module-string

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What use of string module? fl <rxjwg98@gmail.com> - 2015-06-01 19:14 -0700
  Re: What use of string module? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-02 04:37 +0100
  Re: What use of string module? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-06-02 17:21 +1000
  Re: What use of string module? Laura Creighton <lac@openend.se> - 2015-06-02 11:39 +0200
  Re: What use of string module? Tim Chase <python.list@tim.thechases.com> - 2015-06-02 11:39 -0500

csiph-web