need a example of translate or maketrans - Dev Archivesneed a example of translate or maketrans- Python. Visit Dev Archives to discuss need a example of translate or maketrans. archives.devshed.com/forums/python-122/need-a-example-of-translate-or-maketrans-379381.html - 48k |
ASPN : Python Cookbook : Simple Wrapper for string.translate1) http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/101521 for an excellent explanation of maketrans and translate. ... aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303342 - 27k |
Python: module stringA collection of string operations (most are no longer used in Python 1.6). ... maketrans(frm, to) -> string Return a translation table (a string of 256 ... pydoc.org/1.6/string.html - 20k |
[Patches] [ python-Patches-943953 ] Add maketrans to string objectI'm not the first who doesn't like maketrans: http://mail.python.org/pipermail/patches/2000-May/000781.html > It is easy enough to write a charset based ... mail.python.org/pipermail/patches/2004-May/014772.html - 8k |
18.4. Optimizing Dictionary LookupsIt turns out that Python has a specialized function for handling exactly this situation: the string.maketrans function. This is soundex/stage2/soundex2c.py: ... wwwdiveintopython.org/performance_tuning/dictionary_lookups.html - 17k |
gumuz’ devlog » Blog Archive » Python Challenge Solutions - Part 1It was the Python Challenge. It didn’t interest me immediately, but on a lonely ... tr = string.maketrans(string.lowercase, "cdefghijklmnopqrstuvwxyzab") ... gumuz.looze.net/wordpress/index.php/archives/2005/05/09/python-challenge-solutions-part-1/ - 30k |
[ python-Feature Requests-1592899 ] "".translate() docs should ...python-Feature Requests-1592899 ] "".translate() docs should mention string.maketrans(). SourceForge.net Wed, 08 Nov 2006 12:23:30 -0800 ... wwwmail-archive.com/python-bugs-list@python.org/msg09495.html - 7k |
string.maketrans().lower()`tr.lower()' works - at least with Python 2.3 - but is that will that remain reliable? Or should I use something like this? string.maketrans("".join(map(chr ... www.velocityreviewscom/forums/t335281-stringmaketranslower.html - 30k |
[Python-projects] Why does pylint complains about 'string' module ?But there is no equivalent of maketrans. The string module thus stays useful for defining constants ... More information about the Python-Projects mailing list. lists.logilab.org/pipermail/python-projects/2004-August/000134.html - 5k |
Thoughts from Rob HudsonWhile learning Python, I rewrote it and learned a few things about the string ... The maketrans function helps us build that string and both arguments to ... treborhudson.blogspotcom/ - 31k |
Serpia: Code Snippets tutorialOn this page you can find various fragments of Python code I have collected. ... The next line uses the string.maketrans method, it returns a translation ... www.serpia.org/snippets - 19k |
gmanecomp.python.devel_______________________________________________ Python-Dev mailing list Python-Dev ... mention string.maketrans() (2006-11-08) http://python.org/sf/1592899 ... blog.gmane.org/gmanecomp.python.devel - 73k |
[ZPT] CVS: Zope/lib/python/ZTUtils - Iterator.py:1.6 Tree.py:1.5 ...Update of /cvs-repository/Zope/lib/python/ZTUtils In directory ... _') +u2a_map = maketrans('-._', '+/=') def b2a(s): '''Encode a value as a cookie- and ... mail.zope.org/pipermail/zpt/2002-April/003223.html - 7k |
#!/usr/bin/python """toICal.py -- convert RDF to iCalendar syntax ...usr/bin/python """toICal.py -- convert RDF to iCalendar syntax NOTE: this may ... at end """ from string import strip, maketrans, translate import RDFSink, ... www.w3.org/2002/01dc-nj/toICal.py - 5k |
Julio Santos » Python Challenge - SolutionsPython Challenge - Solutions. Don't look if you're doing the puzzles, ... alphabet2="cdefghijklmnopqrstuvwxyzab" from string import maketrans ... morganecom/?page_id=146 - 11k |
|