Esempio n. 1
0
 def buildFileName(self, text):
     """docstring for buildFileName"""
     return hashlib.md5(encoding.force_bytes(text)).hexdigest()
Esempio n. 2
0
def hex_to_qbytearray(hexadecimal):
    return QtCore.QByteArray.fromHex(encoding.force_bytes(hexadecimal))