Open ELONISEVIL opened 2 weeks ago
import os import subprocess
def automate_task():
subprocess.run(["make", "build"]) # Run a command to deploy the software subprocess.run(["make", "deploy"])
automate_task()
import os import subprocess
Define the task to automate
def automate_task():
Run a command to build the software
Call the automate_task function
automate_task()