Skip to content

Instantly share code, notes, and snippets.

View koffie's full-sized avatar
🕺

Maarten Derickx koffie

🕺
View GitHub Profile
@koffie
koffie / envutils.py
Created November 20, 2021 23:36 — forked from vlasovskikh/envutils.py
Source Bash file using a Python function
import os
from subprocess import Popen, PIPE
import pickle
PYTHON_DUMP_ENVIRON = """\
import sys
import os
import pickle