I'm wondering how i can get the string value of a bitset in redis, i have the following code :
import redis as redis
def main():
redisClient = redis.StrictRedis(host='localhost', port=6379, db=0)
redisClient.setbit("mybitset",5,1)
bitset=redisClient.get("mybitset")
print bitset # expect the output to be 100000
if __name__=="__main__":
main()