How to convert string to binary for setpassword() function in Python
How to convert string to binary for setpassword() function in Python Question: This code writes to a string-type password random numbers and symbols. Then create a zip file and write there another zip file and then It needs to set a password to the zip file, but It wants a bin type, not a string …