This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
# This script combines multiple SVG files into a single text file. | |
# It reads each SVG file and writes its content to 'combined_svgs.txt' with a header. | |
# Choose ONE of the options below to specify which SVG files to process. | |
# Option 1: Automatically process all .svg files in the script's directory | |
# - Place your SVG files in the same directory as this script. | |
# - The script will find and process all files with an .svg extension. | |
svg_dir = Path(".") # Current directory |