Top-rated recipes tagged "tag"http://code.activestate.com/recipes/tags/tag/top/2017-04-07T12:30:13-07:00ActiveState Code RecipesTag entry for Tkinter like Jquery Tag It (Python) 2017-04-07T12:30:13-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580734-tag-entry-for-tkinter-like-jquery-tag-it/ <p style="color: grey"> Python recipe 580734 by <a href="/recipes/users/4189907/">Miguel Martínez López</a> (<a href="/recipes/tags/entry/">entry</a>, <a href="/recipes/tags/megawidget/">megawidget</a>, <a href="/recipes/tags/tag/">tag</a>, <a href="/recipes/tags/text/">text</a>, <a href="/recipes/tags/tkinter/">tkinter</a>). Revision 2. </p> <p>Tag editing widget for tkinter. It's similar to jQuery tag it: <a href="http://aehlke.github.io/tag-it/" rel="nofollow">http://aehlke.github.io/tag-it/</a></p> Post automatically on the python cookbook (Python) 2008-08-20T10:50:07-07:00bussiere bussierehttp://code.activestate.com/recipes/users/4050557/http://code.activestate.com/recipes/576439-post-automatically-on-the-python-cookbook/ <p style="color: grey"> Python recipe 576439 by <a href="/recipes/users/4050557/">bussiere bussiere</a> (<a href="/recipes/tags/add/">add</a>, <a href="/recipes/tags/automatically/">automatically</a>, <a href="/recipes/tags/cookbook/">cookbook</a>, <a href="/recipes/tags/form/">form</a>, <a href="/recipes/tags/post/">post</a>, <a href="/recipes/tags/recipe/">recipe</a>, <a href="/recipes/tags/tag/">tag</a>, <a href="/recipes/tags/tags/">tags</a>). Revision 3. </p> <p>hok to make a post by a little script it need httplib2 : <a href="http://code.google.com/p/httplib2/" rel="nofollow">http://code.google.com/p/httplib2/</a></p> Queue with tagged items (Python) 2009-01-28T07:23:40-08:00Jirka Vejrazkahttp://code.activestate.com/recipes/users/4168986/http://code.activestate.com/recipes/576632-queue-with-tagged-items/ <p style="color: grey"> Python recipe 576632 by <a href="/recipes/users/4168986/">Jirka Vejrazka</a> (<a href="/recipes/tags/consumer/">consumer</a>, <a href="/recipes/tags/producer/">producer</a>, <a href="/recipes/tags/queue/">queue</a>, <a href="/recipes/tags/tag/">tag</a>). Revision 2. </p> <p>I needed multiple consumers to retrieve data from a queue fed by one producer. Could not find a good working code for that, so I implemented my own queue. Docstring should describe how this works.</p> <p>Two notes: 1) my code uses multiprocessing code, but in this module, the Lock and Condition could be easily replaced with the same objects from the threading module 2) the attached test uses syntax for "nose" testing package, I did not convert it to doctest or UnitTest.</p> A modification of the blogger exemple for adding category (Python) 2008-08-20T21:08:06-07:00bussiere bussierehttp://code.activestate.com/recipes/users/4050557/http://code.activestate.com/recipes/576441-a-modification-of-the-blogger-exemple-for-adding-c/ <p style="color: grey"> Python recipe 576441 by <a href="/recipes/users/4050557/">bussiere bussiere</a> (<a href="/recipes/tags/api/">api</a>, <a href="/recipes/tags/blog/">blog</a>, <a href="/recipes/tags/blogger/">blogger</a>, <a href="/recipes/tags/blogspot/">blogspot</a>, <a href="/recipes/tags/google/">google</a>, <a href="/recipes/tags/tag/">tag</a>, <a href="/recipes/tags/tags/">tags</a>). Revision 3. </p> <p>Just because the exemple from google didn't add the category thanks from : <a href="http://coolnamehere.wordpress.com/2008/01/02/adding-categories-to-the-python-blogger-client/" rel="nofollow">http://coolnamehere.wordpress.com/2008/01/02/adding-categories-to-the-python-blogger-client/</a></p>