How to get all redis keys by number range of prefix
I need to get all the keys by prefix of the range of 62-125 and followed by ':' Iv'e tried running the following with no success: res = r.keys('[62-125]:*') Also tried using scan: iter = r.scan_iter('^(6[2-9]|7[0-9]):*') res = [] for…