Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Windows 命令行中编写代码。该代码仅来自 Redis-py 的GitHub 页面。
我不知道这是怎么回事,所以我。
dir(p)
结果是:
我找不到“get_message”。我的 redis 版本是-2.9.1。
get_message不是2.9.1发布的一部分。它将成为未来2.10.0 版本的一部分
get_message
2.9.1
因为2.9.1你应该使用.listen()方法。
.listen()