TODO: Write a project description
TODO: Describe the installation process
| #In Python3.x this is the closest thing I could come up with to executing a file directly, that matches running python /path/to/somefile.py. | |
| #Notes: | |
| #Uses binary reading to avoid encoding issues | |
| #Garenteed to close the file (Python3.x warns about this) | |
| #defines __main__, some scripts depend on this to check if they are loading as a module or not for eg. if __name__ == "__main__" | |
| #setting __file__ is nicer for exception messages and some scripts use __file__ to get the paths of other files relative to them. | |
| def exec_full(filepath): | |
| import os |
| Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) | |
| Dim mailItem As Outlook.mailItem | |
| If Not Item.Class = olMail Then Exit Sub | |
| Set mailItem = Item | |
| Dim attachedWords(0 To 3) As String | |
| attachedWords(0) = "attached" | |
| attachedWords(1) = "pièce jointe" |
| QString hmacsha1(const QString & key, const QString & data){ | |
| QByteArray ipad; | |
| QByteArray opad; | |
| QByteArray ctx; | |
| QByteArray sha1; | |
| QByteArray k; | |
| k = key.toAscii(); |