-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.py
48 lines (36 loc) · 1.08 KB
/
template.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import contextlib
import collections
import copy
import functools
import itertools
import math
import re
import statistics
import numpy as np
import pandas as pd
from matplotlib import pyplot as plt
import advent_tools
def main():
advent_tools.TESTING = True
# data = advent_tools.read_all_integers()
# data = advent_tools.read_whole_input()
# data = advent_tools.read_input_lines()
# data = advent_tools.read_input_no_strip()
# data = advent_tools.read_dict_from_input_file(sep=' => ', key='left')
# data = advent_tools.read_dict_of_list_from_file(sep=' => ', key='left')
# data = advent_tools.read_one_int_per_line()
# data = advent_tools.PlottingGrid.from_file({'.' : 0, '#' : 1})
# data = advent_tools.read_input_line_groups()
# data = advent_tools.read_nparray_from_digits()
data = process_input(data)
print('Part 1:', run_part_1(data))
print('Part 2:', run_part_2(data))
def process_input(data):
print(data)
return data
def run_part_1(data):
pass
def run_part_2(data):
pass
if __name__ == '__main__':
main()