On Wed, Oct 5, 2011 at 6:35 PM, Todd Mars <[email protected]> wrote:
> When it does 'print(\n..' where does that go to?

It goes to sys.stdout, which is typically your console.  You won't see
that unless you run Leo from the console.  See the FAQ for
instructions for running Leo from a console.

You can use g.es(message) to send the output to Leo's log pane.

> What I really want is to write files, in which the first line of every
> 'body text' section contains it's headline.

You can execute any of Python's file code from Leo::

    f = open(filename,'w')
    f.write('hello world')

etc.  Happy scripting :-)

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to