Top-rated recipes tagged "short"http://code.activestate.com/recipes/tags/short/top/2014-11-09T11:19:07-08:00ActiveState Code RecipesPython Short URL Generator (Python) 2014-11-09T11:19:07-08:00Des Wagnerhttp://code.activestate.com/recipes/users/4191097/http://code.activestate.com/recipes/578961-python-short-url-generator/ <p style="color: grey"> Python recipe 578961 by <a href="/recipes/users/4191097/">Des Wagner</a> (<a href="/recipes/tags/deterministic/">deterministic</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/short/">short</a>, <a href="/recipes/tags/tiny/">tiny</a>, <a href="/recipes/tags/unique/">unique</a>, <a href="/recipes/tags/url/">url</a>). </p> <p>Python implementation for generating Tiny URL- and bit.ly-like URLs.</p> Python Short URL Generator (Python) 2011-09-19T14:06:36-07:00Michael Foglemanhttp://code.activestate.com/recipes/users/4171845/http://code.activestate.com/recipes/576918-python-short-url-generator/ <p style="color: grey"> Python recipe 576918 by <a href="/recipes/users/4171845/">Michael Fogleman</a> (<a href="/recipes/tags/deterministic/">deterministic</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/short/">short</a>, <a href="/recipes/tags/tiny/">tiny</a>, <a href="/recipes/tags/unique/">unique</a>, <a href="/recipes/tags/url/">url</a>). Revision 3. </p> <p>Python implementation for generating Tiny URL- and bit.ly-like URLs.</p> Short Enum Recipe (Python) 2013-01-31T14:16:06-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577021-short-enum-recipe/ <p style="color: grey"> Python recipe 577021 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/enum/">enum</a>, <a href="/recipes/tags/quick/">quick</a>, <a href="/recipes/tags/short/">short</a>). Revision 9. </p> <p>If you want a small code snippet for enumerations in Python and the following code is sufficient for your needs, please go ahead and use it! Running the code is as simple as this: <code>STATE = enum('GET_QUIZ, GET_VERSE, TEACH')</code></p> <p>This recipe was edited and adapted after the author was inspired by seeing other, better enum recipes lying around.</p>