Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63281
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ycui@outlook.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.037 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'automate': 0.07; 'literal': 0.09; 'template': 0.14; 'guys,': 0.16; 'hey': 0.18; 'variable': 0.18; 'trying': 0.19; 'value.': 0.19; 'to:name:python- list@python.org': 0.22; 'creating': 0.23; 'replace': 0.24; "doesn't": 0.30; "i'm": 0.30; 'libraries': 0.31; 'values.': 0.31; 'text': 0.33; 'there': 0.35; 'example,': 0.37; 'initially': 0.38; 'to:addr:python-list': 0.38; 'received:65.54': 0.38; 'received:65.54.190': 0.38; 'received:bay0.hotmail.com': 0.38; 'to:addr:python.org': 0.39; 'kind': 0.63; 'such': 0.63; 'lightweight': 0.84 |
| X-TMN | [xg6q2qwTHjDTopqWnDATkx/eF4ztNtqy] |
| X-Originating-Email | [ycui@outlook.com] |
| Content-Type | multipart/alternative; boundary="_41e1dff9-41c8-45d2-b210-18c4a4835234_" |
| From | Frank Cui <ycui@outlook.com> |
| To | "python-list@python.org" <python-list@python.org> |
| Subject | word replacing in a paragraph |
| Date | Mon, 6 Jan 2014 11:01:25 -0300 |
| Importance | Normal |
| MIME-Version | 1.0 |
| X-OriginalArrivalTime | 06 Jan 2014 14:31:25.0383 (UTC) FILETIME=[FA87CD70:01CF0AEB] |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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.5016.1389018754.18130.python-list@python.org> (permalink) |
| Lines | 44 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1389018754 news.xs4all.nl 2845 [2001:888:2000:d::a6]:39418 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:63281 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hey guys, I'm trying to automate a process by initially creating a standard template and then replace some text fields with variable values. [for example, "DATE" in the paragraph will be replaced by the current date value. it doesn't have to be a literal word of "DATE", "DATE" in "TESTDATE" can also be replaced.] Is there some lightweight built-in or 3rd party libraries which are good for such kind of work ? ThanksFrank
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
word replacing in a paragraph Frank Cui <ycui@outlook.com> - 2014-01-06 11:01 -0300
csiph-web