| import subprocess | |
| repo_url = 'https://github.com/vladmandic/automatic' | |
| dest_path = './Repo' | |
| # Run the git clone command | |
| try: | |
| subprocess.run(['git', 'clone', repo_url, dest_path], check=True) | |
| print('Clone operation completed successfully! π') | |
| except subprocess.CalledProcessError: | |
| print('Clone operation failed! π') | |