๐ฆ PYCBase is a module which can generate from 0 - infinite bits custom base numbers (minimum is base2 (binary) and maximum is base10 (decimal))
๐ The download is here
To use the PYCBase in python create a .py file in the same directory as PYCBase.py Now in that new .py file import PYCBase.
To use PYCBase create an object and specify two parameters first is how many bits you want one number to have and the second one is the Base parameter like this: obj = PYCBase.RBN(8, 2) PYCBase includes 2 methods first is GenNum() which generates from the initialized PYCBase.RBN(x, y) from above and GenLis() which uses the GenNum() method to generate a list of all specified parameters (in this case its all 8-bits base2 numbers which is 255 numbers)
import PYCBase
obj = PYCBase.baseNum(int(input('Bits: ')), int(input('Base: ')))
print(obj.glis())