ysb123 commited on
Commit
984311a
·
1 Parent(s): c501f0f

Create automatic.py

Browse files
Files changed (1) hide show
  1. automatic.py +10 -0
automatic.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+
3
+ repo_url = 'https://github.com/vladmandic/automatic'
4
+ dest_path = './Repo'
5
+ # Run the git clone command
6
+ try:
7
+ subprocess.run(['git', 'clone', repo_url, dest_path], check=True)
8
+ print('Clone operation completed successfully! 😄')
9
+ except subprocess.CalledProcessError:
10
+ print('Clone operation failed! 😞')