一级标题
二级标题
def copy_dir() -> None:
'''Make Directory structure [pass 1]'''
# mkdir
for dirpath, dirnames, filenames in Path(_setting.input_dir).walk():
if dirpath.name[0] != '_': # make all dir escape _xxx
root_replace(dirpath).mkdir(exist_ok=True)
shutil.copytree( # copy style
Path(_setting.input_dir).joinpath('_style'),
Path(_setting.output_dir).joinpath('_style'),
dirs_exist_ok=True,
)
shutil.copytree( # copy script
Path(_setting.input_dir).joinpath('_script'),
Path(_setting.output_dir).joinpath('_script'),
dirs_exist_ok=True,
)
shutil.copytree( # copy script
Path(_setting.input_dir).joinpath('_font'),
Path(_setting.output_dir).joinpath('_font'),
dirs_exist_ok=True,
)
📃NOTE
quote
• 123
• 123
Create: Thu Dec 12 22:00:17 2024
Last Modified: Thu Dec 12 22:00:17 2024
_____ _______ _____ _______
/\ \ /::\ \ /\ \ /::\ \
/::\____\ /::::\ \ /::\____\ /::::\ \
/::::| | /::::::\ \ /::::| | /::::::\ \
/:::::| | /::::::::\ \ /:::::| | /::::::::\ \
/::::::| | /:::/~~\:::\ \ /::::::| | /:::/~~\:::\ \
/:::/|::| | /:::/ \:::\ \ /:::/|::| | /:::/ \:::\ \
/:::/ |::| | /:::/ / \:::\ \ /:::/ |::| | /:::/ / \:::\ \
/:::/ |::|___|______ /:::/____/ \:::\____\ /:::/ |::| | _____ /:::/____/ \:::\____\
/:::/ |::::::::\ \ |:::| | |:::| | /:::/ |::| |/\ \ |:::| | |:::| |
/:::/ |:::::::::\____\|:::|____| |:::|____|/:: / |::| /::\____\|:::|____| |:::|____|
\::/ / ~~~~~/:::/ / \:::\ \ /:::/ / \::/ /|::| /:::/ / \:::\ \ /:::/ /
\/____/ /:::/ / \:::\ \ /:::/ / \/____/ |::| /:::/ / \:::\ \ /:::/ /
/:::/ / \:::\ /:::/ / |::|/:::/ / \:::\ /:::/ /
/:::/ / \:::\__/:::/ / |::::::/ / \:::\__/:::/ /
/:::/ / \::::::::/ / |:::::/ / \::::::::/ /
/:::/ / \::::::/ / |::::/ / \::::::/ /
/:::/ / \::::/ / /:::/ / \::::/ /
/:::/ / \::/____/ /:::/ / \::/____/
\::/ / \::/ /
\/____/ \/____/
_____ _____ _____ _____ _____
/\ \ /\ \ /\ \ /\ \ /\ \
/::\ \ /::\ \ /::\ \ /::\ \ /::\ \
/::::\ \ /::::\ \ /::::\ \ /::::\ \ /::::\ \
/::::::\ \ /::::::\ \ /::::::\ \ /::::::\ \ /::::::\ \
/:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \
/:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \ /:::/ \:::\ \ /:::/__\:::\ \
\:::\ \:::\ \ /::::\ \:::\ \ /::::\ \:::\ \ /:::/ \:::\ \ /::::\ \:::\ \
___\:::\ \:::\ \ /::::::\ \:::\ \ /::::::\ \:::\ \ /:::/ / \:::\ \ /::::::\ \:::\ \
/\ \:::\ \:::\ \ /:::/\:::\ \:::\____\ /:::/\:::\ \:::\ \ /:::/ / \:::\ \ /:::/\:::\ \:::\ \
/::\ \:::\ \:::\____\/:::/ \:::\ \:::| |/:::/ \:::\ \:::\____\/:::/____/ \:::\____\/:::/__\:::\ \:::\____\
\:::\ \:::\ \::/ /\::/ \:::\ /:::|____|\::/ \:::\ /:::/ /\:::\ \ \::/ /\:::\ \:::\ \::/ /
\:::\ \:::\ \/____/ \/_____/\:::\/:::/ / \/____/ \:::\/:::/ / \:::\ \ \/____/ \:::\ \:::\ \/____/
\:::\ \:::\ \ \::::::/ / \::::::/ / \:::\ \ \:::\ \:::\ \
\:::\ \:::\____\ \::::/ / \::::/ / \:::\ \ \:::\ \:::\____\
\:::\ /:::/ / \::/____/ /:::/ / \:::\ \ \:::\ \::/ /
\:::\/:::/ / /:::/ / \:::\ \ \:::\ \/____/
\::::::/ / /:::/ / \:::\ \ \:::\ \
\::::/ / /:::/ / \:::\____\ \:::\____\
\::/ / \::/ / \::/ / \::/ /
\/____/ \/____/ \/____/ \/____/