This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
example of the usage of pyrss2gen library. | |
URL: http://www.dalkescientific.com/Python/PyRSS2Gen.html | |
""" | |
import datetime | |
import PyRSS2Gen | |
rss = PyRSS2Gen.RSS2( | |
title = "Andrew's PyRSS2Gen feed", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
See U{the MemCached homepage<http://www.danga.com/memcached>} for more about memcached. | |
""" | |
import memcache | |
mc = memcache.Client(['127.0.0.1:11211'], debug=0) | |
mc.set("some_key", "Some value") | |
value = mc.get("some_key") | |