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

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/p/i/piep-HEAD/piep/main.py   piep(Download)
from piep.line import Line
from piep.builtins import builtins
from piep.error import Exit
 
if sys.version_info < (3,):
			exec eval_str in globs
		except SyntaxError as e:
			raise Exit("got error: %s\nwhile evaluating: %s" % (e,eval_str))
	files = [make_stream(open(f)) for f in opts.files]
	globs['files'] = files
				raise e
		except SyntaxError as e:
			raise Exit("got error: %s\nwhile evaluating: %s" % (e,expr))
 
def compile_pipe_exprs(exprs):

src/p/i/piep-HEAD/piep/shell.py   piep(Download)
from __future__ import print_function
import subprocess
from piep.error import Exit
from piep.line import Line
 
				self.proc = subprocess.Popen(self.cmd, **self.kwargs)
			except OSError, e:
				raise Exit("error executing %r: %s" % (list(self.cmd), e))
 
	def wait(self, raise_on_error=True):