IRange
- fpylib.irange.irange(first: Union[fpylib.types.number, str], second: Optional[Union[fpylib.types.number, str]] = None, final: Optional[Union[fpylib.types.number, str]] = None, final_include: bool = False) Iterator[Union[fpylib.types.number, str]][source]
Intelligen range function that can be used with infinite or finite ranges.
- First
The first number of the range.
- Second
The second number of the range.
- Final
The final number of the range.
- Returns
A generator of the range.
- fpylib.irange.num_irange(first: fpylib.types.number, second: Optional[fpylib.types.number] = None, final: Optional[fpylib.types.number] = None, final_include: bool = False) Iterator[fpylib.types.number][source]
Intelligen range function that can be used with infinite or finite ranges of integers.
- First
The first character of the range.
- Second
The second character of the range.
- Final
The final character of the range.
- Returns
A generator of the range.
- fpylib.irange.char_irange(first: str, second: Optional[str] = None, final: Optional[str] = None, final_include: bool = False) Iterator[str][source]
Intelligen range function that can be used with infinite or finite ranges of characters.
- First
The first character of the range.
- Second
The second character of the range.
- Final
The final character of the range.
- Returns
A generator of the range.
- fpylib.irange.char_encode(num: int, is_lower=True) str[source]
Converts an integer to a character string with elements from a-z or A-Z.
- Num
The integer base 10 to be converted.
- Returns
The character base 26.
- fpylib.irange.char_decode(string: str) int[source]
Converts an string base 26 to a number of base 10.
- String
The string to be converted.
- Returns
The number base 10.