Popular recipes by Xavier Defrang http://code.activestate.com/recipes/users/117591/2001-10-17T05:23:36-07:00ActiveState Code RecipesSingle-pass Multiple Replace (Python)
2001-10-12T14:45:58-07:00Xavier Defranghttp://code.activestate.com/recipes/users/117591/http://code.activestate.com/recipes/81330-single-pass-multiple-replace/
<p style="color: grey">
Python
recipe 81330
by <a href="/recipes/users/117591/">Xavier Defrang</a>
(<a href="/recipes/tags/text/">text</a>).
Revision 5.
</p>
<p>This recipe shows how to use the Python standard re module to perform single-pass multiple string substitution using a dictionary.</p>
Interactive POP3 Mailbox Inspector (Python)
2001-10-17T05:23:36-07:00Xavier Defranghttp://code.activestate.com/recipes/users/117591/http://code.activestate.com/recipes/82233-interactive-pop3-mailbox-inspector/
<p style="color: grey">
Python
recipe 82233
by <a href="/recipes/users/117591/">Xavier Defrang</a>
(<a href="/recipes/tags/network/">network</a>).
</p>
<p>This tiny script logs on a POP3 server and allows you to view the top of the messages and eventually mark them for deletion.</p>