This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LOGGING = { | |
| 'version': 1, | |
| 'disable_existing_loggers': False, | |
| 'formatters': { | |
| 'syslog': { | |
| 'format': "%(asctime)s.%(msecs)03d %(levelname).3s [%(name)s:%(line\ | |
| no)s] " | |
| "%(message)s", | |
| 'datefmt': "%y%m%d %H%M%S" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LOGGING = { | |
| 'version': 1, | |
| 'disable_existing_loggers': False, | |
| 'formatters': { | |
| 'syslog': { | |
| 'format': "%(asctime)s.%(msecs)03d %(levelname)-8s [%(name)s:%(lineno)s] " | |
| "%(message)s", | |
| 'datefmt': "%y%m%d %H%M%S" | |
| }, | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import string | |
| from docx import Document | |
| document = Document('test.docx') | |
| print document.core_properties.author | |
| # Our DMS has added the edocs.* custom props | |
| print "Version=%s" % document.custom_properties["edocs.Version"] | |
| print "Date=%s" % document.custom_properties["edocs.Date"] | |
| print "case=%s" % document.custom_properties["edocs.Case"] |