to the end of its name for exampleto set the quote linked style for paragraph objectyou would use paragraphobj style 'quote'but for run objectyou would use runobj style 'quote charin the current version of python-docx ()the only styles that can be used are the default word styles and the styles in the opened docx new styles cannot be created--though this may change in future versions of python-docx creating word documents with nondefault styles if you want to create word documents that use styles beyond the default onesyou will need to open word to blank word document and create the styles yourself by clicking the new style button at the bottom of the styles pane (figure - shows this on windowsthis will open the create new style from formatting dialogwhere you can enter the new style thengo back into the interactive shell and open this blank word document with docx document()using it as the base for your word document the name you gave this style will now be available to use with python-docx figure - the new style button (leftand the create new style from formatting dialog (rightrun attributes runs can be further styled using text attributes each attribute can be set to one of three valuestrue (the attribute is always enabledno matter what other styles are applied to the run)false (the attribute is always disabled)or none (defaults to whatever the run' style is set totable - lists the text attributes that can be set on run objects