Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91778
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'string.': 0.04; 'from:addr:yahoo.co.uk': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'subject:string': 0.09; 'template': 0.11; 'suggest': 0.15; 'formatting,': 0.16; 'module?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'string': 0.17; 'language': 0.19; 'compare': 0.20; 'lawrence': 0.22; 'header:In- Reply-To:1': 0.24; 'example': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'module.': 0.27; 'methods.': 0.29; 'language.': 0.32; 'url:python': 0.33; 'subject:use': 0.33; 'subject:?': 0.34; 'lists': 0.34; 'could': 0.35; 'to:addr:python- list': 0.35; 'functions.': 0.35; 'replaced': 0.35; 'url:org': 0.36; 'thanks': 0.36; 'url:library': 0.36; 'hi,': 0.37; 'subject:: ': 0.37; 'received:org': 0.38; 'url:2': 0.39; 'url:docs': 0.39; 'to:addr:python.org': 0.39; 'mark': 0.40; 'url:3': 0.60; 'show': 0.62; 'our': 0.64; 'charset:windows-1252': 0.65; 'here': 0.66; 'online': 0.71; 'pythonistas,': 0.84; 'url:string': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: What use of string module? |
| Date | Tue, 02 Jun 2015 04:37:58 +0100 |
| References | <d3bf3182-d70e-4160-b600-733cbda748e6@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | host-92-18-9-195.as13285.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
| In-Reply-To | <d3bf3182-d70e-4160-b600-733cbda748e6@googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.36.1433216310.13271.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1433216310 news.xs4all.nl 2965 [2001:888:2000:d::a6]:38417 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:91778 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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