Hi,
El 14/12/10 09:40, Edward K. Ream escribió:
On Mon, Dec 13, 2010 at 10:00 PM, Offray Vladimir Luna Cárdenas>
Is there is any place where I can find "Scripting in Python with Leo"?
Have you tried Leo's scripting chapter?
http://webpages.charter.net/edreamleo/scripting.html
For help with Python, see the excellent tutorial:
http://docs.python.org/tutorial/
Edward
Yes. I give it a glimpse but seems too related with scripting Leo in
Python and not the other way around, that is what I'm looking for. For
example, g.es("Hello word") would be non-portable outside Leo and the
rest of the chapter seems related to create scripts that access
positions of the outline and things like that. Yesterday, after looking
at this chapter, I ended looking for a newbie environment for python
programming and I found SPE (Stani's Python Editor) that seems friendly
enough. You start writing your scritps and see a explicit button that
run them and, if the script needs parameters a pop-up window will ask
for them, and you will see print the outputs in an embedded shell. You
can also import your code to that shell and stat to thinker with it. I
think that this kind of experience is possible with Leo, and may be is
just matter of the proper documentation about how to make this possible
or having a similar experience.
Cheers,
Offray
--
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.