Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Python Template

This project serves to provide a simple template for solving the yearly Advent of Code by Eric Wastl. The general idea is to have a simple python program that rcieves a day as input and based on the input arguement executes the code. It only provides templates for each day's task and does not provide any solutions or input data.

For executing your implementation of a given day, first implement it in the python file inside the directory of the specific day (e.g. day1/day.py). Additionally you need to copy the input into the directory. The file containing the task input should be named input.txt, and if you want to test your implementation first using the provided testing data, the file should be named test_input.txt. To execute the code use following commands:

# to execute your implementation of day N
python main.py N
# to test your implementation
python main.py N -t

Note

Feel free to contribute if you have any suggestions on possible improvements. But as this project main purpose is to simplify the implementation process for myself, I need to be happy with it.

About

Template for solving Advent of Code by Eric Wastl.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages