Simple Wrapper for string.translate

Category: Python - Miscellaneous

It seems like every time I want to use string.maketrans and str.translate, I have to stop for a minute and think really hard about how to accomplish what I want to do. Eventually, I wrote this little wrapper class to ease my pain. Date: 05 January, 2012


Text

Homepage: http://code.activestate.com/recipes/303342-simple-wrapper-for-stringtranslate/?in=lang-python

Developer: Chris Perkins

License: Python License

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Powerful scroller with No need for PHP, Perl, etc.

developer Developer: Raj
license License: Freeware
operating systems Operating System: Platform Independent


Tigra Scroller is free JavaScript widget for web sites that scrolls text or html in the box.

developer Developer: Softcomplex
license License: Freeware
operating systems Operating System: Windows 95/98/ME/2000/XP, Mac OS 8/9/X, KDE on Linux/FreeBSD


Tigra Status Bar Scroller is free JavaScript widget for web sites that scrolls text in browser's status bar or title.

developer Developer: Mariya Imangulova
license License: GNU General Public License (GPL)
operating systems Operating System: Windows 95/98/ME/2000/XP; Mac OS 8/9/X; KDE on Linux/FreeBSD


A free cross-browser WYSIWYG editor that's packed with every rich-text editing feature you need to make your content management system that much better.

developer Developer: openwebware
license License: GNU Lesser General Public License (LGPL)
operating systems Operating System: Not Available


ELinks is an advanced and well-established feature-rich text mode web (HTTP/FTP/.

developer Developer: ELinks
license License: GNU General Public License (GPL)
operating systems Operating System: AIX, BeOS, CygWin, Digital Unix, FreeBSD, HPUX, IRIX, Linux, MacOSX, Microsoft Windows, NetBSD, OpenBSD, OS/2, RISC OS and Solaris


Something I wrote when my brothers were twelve to introduce them to programming.

developer Developer: Jonathan Hayward
license License: GNU General Public License (GPL)
operating systems Operating System: Not Available


An easily modified text based RPG written in C++ created to help teach new programmers how to break apart parts of a game into something creatable.

developer Developer: wrathlands2
license License: GNU General Public License (GPL)
operating systems Operating System: WinXP


These are just some simple examples of how you can leverage the operator module to help gain performance with something like map (it works great with sort too).

developer Developer: John Nielsen
license License: Python License
operating systems Operating System: Windows


A script to compare and diff two md5 files.

developer Developer: Stefano Spinucci
license License: Python License
operating systems Operating System: Windows