Question: How to create an OrgDoc from within python #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm trying to build some OrgDoc data for some tests from within python:
But it looks that the
headlines
argument is not aList[Headline]
but aDict
.How would you create an OrgDoc from within python with some headlines?
I guess that the easiest solution is to do:
Yeah, if you don't need very strong typing (like for tests) doing a
loads
is ok.What do you intend to do? Create a blank OrgDoc that you will later fill?
nope, I just wanted it for the tests, so that functionality is perfect)