I am trying to convert the following perl code:
unpack(.., "Z*")
in python, however, the lack of a "*" format modifier in struct.unpack () seems impossible. Is there a way I can do this in python?
PS The modifier "*" in perl from perldoc. Delivering a * for a retry counter instead of a number means using, however, many elements remain, ...
So, although python has a numerical number of repetitions, such as perl, it seems that there is no repetition counter.
source share