On Wed, Apr 2, 2008 at 4:47 PM, Edward K. Ream <[EMAIL PROTECTED]> wrote:

>  > %run leo.py  (in leo/leo/src)
>  >
>  > When leo is installable as a package, this will be much simpler
>  > (because we don't need to know where leo.py is).
>
>  I'm having trouble with this because I don't know where leo.py is :-)
>  What directory do I have to be in for this to work?

leo/leo/src. See the documentation in leodocs.

>  Also, I'd like to use ipython for all my Python work, but I'm not sure
>  whether what I am doing makes sense.  Formerly, in the XP Folder

I think it's better to request IPython explicitly (using ip.runlines
if you want ipython input handling or ip.ex if you don't), rather than
having ipython as default for everything.

>  c:\python25\python.exe C:\Python25\scripts\ipython c:\leo.repo\leo-
>  editor\trunk\leo\src\leo.py "%1"
>
>  This works, kind of.  The .leo file starts up, but I get the *python*
>  version number in Leo's log.  When I quit Leo, I do indeed drop into

Yes, IPython runs the startup script using normal python execfile.

>  IPython. Is this how you set things up, Ville?

Pretty normally; I start leo.py as normal python program.

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'

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

Reply via email to