emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* PyOrgMode: Any idea how to get the properties of a node?
@ 2011-05-05 10:22 Miguel Ruiz
  0 siblings, 0 replies; only message in thread
From: Miguel Ruiz @ 2011-05-05 10:22 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

I am using PyOrgMode to process the nodes of an orgmode file.

I have had no problem with the OrgDataStructure class, but, as you can see


the drawer and properties are parsed by another class, OrgDrawer, and I cannot, i.e., I am not so fluent in python to view the link between OrgDataStructure and OrgDrawer.

Can anyone help me?

My minimal code:

import PyOrgMode
tree = PyOrgMode.OrgDataStructure()

for i in tree.root.content:
   print i

And what else to get the properties of, let's say, tree.root.content[0]?


[-- Attachment #2: Type: text/html, Size: 889 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-05 10:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-05 10:22 PyOrgMode: Any idea how to get the properties of a node? Miguel Ruiz

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).