Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
execfile(filename[, globals[, locals]])

Read and execute a Python script from a file.
The globals and locals are dictionaries, defaulting to the current
globals and locals.  If only globals is given, locals defaults to it.

src/p/y/pyreadline-2.0/pyreadline/rlmain.py   pyreadline(Download)
 
from . import release
from .py3k_compat import callable, execfile
 
import pyreadline.lineeditor.lineobj as lineobj
        if os.path.isfile(inputrcpath): 
            try:
                execfile(inputrcpath, loc, loc)
            except Exception as x:
                raise

src/p/y/pyreadline-HEAD/pyreadline/rlmain.py   pyreadline(Download)
 
from . import release
from .py3k_compat import callable, execfile
 
import pyreadline.lineeditor.lineobj as lineobj
        if os.path.isfile(inputrcpath): 
            try:
                execfile(inputrcpath, loc, loc)
            except Exception as x:
                raise