added set up file and folders
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 1 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 10 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 11 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 12 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 13 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 14 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 15 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 16 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 17 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 18 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 19 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 2 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 20 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 21 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 22 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 23 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 24 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 25 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 3 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 4 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 5 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 6 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 7 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 8 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Paste any inputs into this file.
|
||||
@@ -0,0 +1 @@
|
||||
# Day 9 Puzzle Text.
|
||||
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
import os
|
||||
|
||||
# Define the base directory where you want to create the folders
|
||||
base_dir = 'advent_of_code_2023'
|
||||
|
||||
# Loop over the range 1 to 25 (inclusive)
|
||||
for i in range(1, 26):
|
||||
# Construct the folder name
|
||||
folder_name = f"day_{i}"
|
||||
|
||||
# Construct the full path to the folder
|
||||
folder_path = os.path.join(base_dir, folder_name)
|
||||
|
||||
# Create the folder
|
||||
os.makedirs(folder_path, exist_ok=True)
|
||||
|
||||
# Construct the full path to the placeholder file
|
||||
input_file_path = os.path.join(folder_path, "input.txt")
|
||||
puzzle_file_path = os.path.join(folder_path, "puzzle_text.md")
|
||||
solution_file_path = os.path.join(folder_path, "solution.py")
|
||||
|
||||
# Create the placeholder file
|
||||
with open(input_file_path, "w") as file:
|
||||
file.write("Paste any inputs into this file.")
|
||||
|
||||
# Create the puzzle file
|
||||
with open(puzzle_file_path, "w") as file:
|
||||
file.write( f"# Day {i} Puzzle Text.")
|
||||
|
||||
# Create the solution file
|
||||
with open(solution_file_path, "w") as file:
|
||||
file.write("import os\n\n")
|
||||
Reference in New Issue
Block a user