Solutions for Advent of Code 2017 (http://adventofcode.com/2017) in Python 3. Solutions are for the most part optimized for brevity, at the cost of readability (for funsies).
Python 3
Each day's puzzle solution lives in a file named dayX.py, with its associated input in inputX.txt. A solution expects its input to be given on stdin, for example:
$ cat input1.txt | ./day1.py
To run through all solution using the inputX.txt files, run:
$ ./run.sh