Last active
November 29, 2022 11:26
-
-
Save umitkacar/d5ea704c972f1c997d302611aa114a1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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