I have an outline containing two python scripts, A and B, and in which A 
imports B. I use @path X to specify where these scripts get saved. My Leo 
file lives in directory Y, different from the directory in which the python 
scripts are stored.

I would like to be able to execute A during development and debugging using 
CTRL-B or by making the node into a script button. But this doesn't work, 
because Leo is running in Y, but B is in X, and therefore I get an import 
when I try to execute A because it cannot find B.

Of course, I could run the Leo file from X, but I have other scripts in 
other nodes, stored in other locations, for which I want the same 
capability.

So, what I need is for CTRL-B or script nodes to recognize where (and if) a 
script is stored in a particular path, and then execute that script as if 
it is being executed at that path.

Any thoughts or suggestions?

Thanks,
Phil

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to