Skip to content

Instantly share code, notes, and snippets.

@hexsprite
Created January 24, 2014 08:11
Show Gist options
  • Select an option

  • Save hexsprite/8593775 to your computer and use it in GitHub Desktop.

Select an option

Save hexsprite/8593775 to your computer and use it in GitHub Desktop.
def shell_lines(s):
return " ".join([ l.strip() for l in s.splitlines() ])
def local_env(**additional):
return dict(*env.values(), *additional.values())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment