Re: Searching a string and extract all occurancies of a substring
- From: Gabriel Genellina <gagsl-py@xxxxxxxxxxxx>
- Date: Thu, 31 Aug 2006 13:02:01 -0300
At Thursday 31/8/2006 12:44, Nico Grubert wrote:
in a text with no carriage returns I need to look for all occurancies of
this string:
<source id="box"><parameter key="path">...</parameter></source>
Try Beautiful Soup, or if your input is simple enough, the re module.
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! http://www.yahoo.com.ar/respuestas
.
- Prev by Date: Re: sys.argv[0] doesn't always contain the full path of running script.
- Next by Date: How to Interpret Hotshot Stats
- Previous by thread: Searching a string and extract all occurancies of a substring
- Next by thread: Re: Searching a string and extract all occurancies of a substring
- Index(es):
Relevant Pages
|