User Tools

Site Tools


python:twistedlxmlandre

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
python:twistedlxmlandre [2015/10/26 22:45] – [re.sub and re.compile] adminpython:twistedlxmlandre [2015/10/26 22:46] – [re.sub and re.compile] admin
Line 690: Line 690:
 text2 = re.sub("cool", "good", text) text2 = re.sub("cool", "good", text)
 print text2 print text2
 +</code>output<code>
 +Python for beginner is a very good website
 </code> </code>
       * Here is another example (taken from Googles Python class ) which searches for all the email addresses, and changes them to keep the user (1) but have yo-yo-dyne.com as the host.<code python>       * Here is another example (taken from Googles Python class ) which searches for all the email addresses, and changes them to keep the user (1) but have yo-yo-dyne.com as the host.<code python>
python/twistedlxmlandre.txt · Last modified: 2022/10/29 16:15 by 127.0.0.1