Initial commit

This commit is contained in:
DingZQ
2025-10-26 08:54:35 +08:00
commit ae6510ac37
679 changed files with 3963666 additions and 0 deletions

22
copy_project.py Normal file
View File

@@ -0,0 +1,22 @@
import sys
from tjnetwork import *
def main():
argc = len(sys.argv)
if argc < 2 or argc > 4:
print("copy_project source [count]")
return
source = sys.argv[1]
if not have_project(source):
print(f"{source} is not available")
if argc == 2:
copy_project(source, f"{source}_1")
elif argc == 3:
count = int(sys.argv[2])
for i in range(1, 1 + count):
copy_project(source, f"{source}_{i}")
if __name__ == '__main__':
main()