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


Groups > comp.lang.python > #63281 > unrolled thread

word replacing in a paragraph

Started byFrank Cui <ycui@outlook.com>
First post2014-01-06 11:01 -0300
Last post2014-01-06 11:01 -0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  word replacing in a paragraph Frank Cui <ycui@outlook.com> - 2014-01-06 11:01 -0300

#63281 — word replacing in a paragraph

FromFrank Cui <ycui@outlook.com>
Date2014-01-06 11:01 -0300
Subjectword replacing in a paragraph
Message-ID<mailman.5016.1389018754.18130.python-list@python.org>

[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  		 	   		  

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web