emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Cave <charles_cave@optusnet.com.au>
To: emacs-orgmode@gnu.org
Subject: Announcing my Python module to read org-mode files
Date: Sun, 15 Mar 2009 14:37:19 +1100	[thread overview]
Message-ID: <49BC77EF.9060102@optusnet.com.au> (raw)

Over the last couple of months I have developed a Python module
to read an org-mode file and return the nodes as a list
of objects.  The module is the basis of a Python/TK GUI
program to display a "Word of the Day" (another article
will be published about this program soon).

Here is the article (and source code)
http://members.optusnet.com.au/~charles57/GTD/orgnode.html

This is an example of what the module can do:

import Orgnode
nodelist = Orgnode.makelist("newgtd.org")

print "\n--------- PROJECT LIST ----------------"
for node in nodelist:
   if node.Tag() == "PROJECT":
       print "[ ]", node.Heading()


I hope the module is of interest to Python programmers!

Charles

             reply	other threads:[~2009-03-15  3:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-15  3:37 Charles Cave [this message]
2009-03-15  8:35 ` Announcing my Python module to read org-mode files Ian Barton
2009-03-16 18:28 ` Mark Elston
2009-03-17  1:22   ` Charles Cave
2009-03-17  1:40     ` Mark Elston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49BC77EF.9060102@optusnet.com.au \
    --to=charles_cave@optusnet.com.au \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).