On Sun, 3 Aug 2014 04:56:59 -0700 (PDT)
duf...@gmail.com wrote:

> On Sunday, 3 August 2014 11:03:20 UTC+1, Edward K. Ream wrote:
> >
> > You could distribute .pyc files, but the format of those files
> > depends on the exact version of Python you are using. 
> >
> 
> But will I be able to run those .pyc files within a Leo node, as a 
> replacement for Python source code? 
> If so, how to do it?

from somewhere.on.the.path import my_module

my_module.do_thing()

will use a my_module.pyc if it's appropriate to the version of python
and the OS it's running on, and there's no more recently modified .py
file, which would obviously be true in your case.

Cheers -Terry

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
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