Hello everybody,

I'm new to this editor and try to import my python files. I can create a 
@clean node (really cool feature btw) with the file name and replace the 
new file with my already written python program. Unfortunately this only 
creates a node with a lot of text. On the search for more structured import 
I stumbled across this thread.

I tried this on a Mac

(Leo Log Window:
Leo 5.1-final, build 20150706110823, Mon Jul  6 11:08:23 CDT 2015
Git repo info: branch = master, commit = 2ce861dd01c9
Python 2.7.9, PyQt version 4.8.6
darwin)

but after dropping a file nothing happens in the outline-pane and the 
log-pane tells me:

"not found: /.file/id=6571367.1791824"

Is there an easy/other way to import python code ? Should I switch systems 
(try it on unix?)

Greetings,

Holger

Am Donnerstag, 21. November 2013 13:44:30 UTC+1 schrieb Fidel N:
>
> Hey:
> I gladly share what I learned today, but Im not yet qualified for a file 
> importing/exporting tutorial on the subject hehe.
>
> Here is what I found to be the most comfortable way to import files and 
> folders yet:
>
> ## ACTIVATE THE PLUGIN ##
>
> -Go to myleosettings (Help -> myleosettings) and enable the plugin 
> "active_path.py".
> To enable the plugin, you must find the node with header 
> "@enabled-plugins", then substitute the line:
>
>    - #active_path.py
>    
> for:
>
>    - active_path.py
>    
> -Now restart Leo for the plugin to be in effect.
>
> ## Load your files into Leo ##
>
> -Now, you can drop folders from file browsers (such as the one that comes 
> with windows) and they will generate a "@path" node, pointing to those 
> folders.
> -Right-click the "@path" node you created by dropping your folder, and in 
> the popup menu click "path" then click "load recursive". This will load 
> all the sub-files and sub-folders under your "@path" node. You can navigate 
> them but cant edit them yet.
> -For editing any of the loaded files, just navigate to it under your 
> "@path" node, and double-click it. It will become an @auto file containing 
> the information your original file has.
>

-- 
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