Here is the easy (and flexible!) way:
- Define a shared @command f1 node in your myLeoSetting.leo for your
function f1.
- Execute the function with: c.doCommandByName("f1").
I'm going to do a bit of a balance between plugins or the way which you
said.
For now, Thomas's approach to 'place a .pth file in Lib.sitepackages' and
plugins way seems the most plausible if I consider writing some future
tests for some of my custom functions.
Thank you, Thomas and Edward, for your suggestions.
The best thing about Leo is that if you want add some simple functions,
just use @command F1 node is enough.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/0abcf51e-5145-40ed-82f1-26f4d41784can%40googlegroups.com.