Skip to content

Instantly share code, notes, and snippets.

@umitkacar
Last active November 29, 2022 11:26
Show Gist options
  • Save umitkacar/d5ea704c972f1c997d302611aa114a1a to your computer and use it in GitHub Desktop.
Save umitkacar/d5ea704c972f1c997d302611aa114a1a to your computer and use it in GitHub Desktop.
#!/bin/bash
import subprocess
subprocess.run(["./zip.sh"])
subprocess.run(["zip", "-r", "test.zip", "test/"], capture_output=True)
# https://docs.python.org/3/library/subprocess.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment