If you need to add a string to a document, no problem–you can pass a Python string in to append(), or you can call the NavigableString constructor: