We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6375f commit 6b7b614Copy full SHA for 6b7b614
libs/python.wiki
@@ -862,7 +862,23 @@ conn.commit()
862
conn.close()
863
</source>
864
865
-=== 6.2.7 Berkeley DB ===
+=== 6.2.7 Redis ===
866
+
867
+<h4>redis-py</h4>
868
869
+Home:[https://github.com/andymccurdy/redis-py]
870
871
+操作 Redis 的第三方 Python 客户端。
872
873
+代码示例——简单的 set/get
874
+<source lang="python">
875
+import redis
876
+r = redis.StrictRedis(host="localhost", port=6379, db=0)
877
+r.set("foo", "bar")
878
+print(r.get("foo"))
879
+</source>
880
881
+=== 6.2.8 Berkeley DB ===
882
883
<h4>PyBSDDB</h4>
884
0 commit comments