import subprocess def init(dirname: str): subprocess.call("git init", cwd=dirname)