> I'm writing a python script which needs to locate Leo's library location >> in the filesystem. By looking various places I see the pattern of `import >> leo.core.leoGlobals as g` and `g.computeLeoDir()`, but that doesn't work >> for me. I get an error of "object has no attribute loadManager". >> > > The place to start looking is runLeo.py, the section: > > << imports and inits >> (runLeo.py) > > See if you can use that exact code. If not, let me know. >
Nope, see https://gist.github.com/maphew/c4670b3cb6e045e7583769de6a185ee6. I'm happy to create an issue if this is supposed to work. I didn't start there because I don't know if this way of using Leo (as a library instead of application) is supported. matt -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
