PythonTest/autoGit.py
2023-03-29 17:28:46 +08:00

7 lines
175 B
Python

import git
import os
if __name__ == '__main__':
gitPath = os.path.join("test", "git")
if os.path.exists(gitPath) is False:
print(os.makedirs("d:\\test\\git"))