pytudes icon indicating copy to clipboard operation
pytudes copied to clipboard

missing data/advent2018 input folder

Open alessiomargan opened this issue 5 years ago • 1 comments

Hi, missing input folder data/advent2018 in repository Alessio

input1 = Input(1, int)

sum(input1)

FileNotFoundError Traceback (most recent call last) in ----> 1 input1 = Input(1, int) 2 3 sum(input1)

in Input(day, line_parser, file_template) 18 def Input(day, line_parser=str.strip, file_template='data/advent2018/input{}.txt'): 19 "For this day's input file, return a tuple of each line parsed by line_parser." ---> 20 return mapt(line_parser, open(file_template.format(day))) 21 22 def integers(text):

FileNotFoundError: [Errno 2] No such file or directory: 'data/advent2018/input1.txt'

alessiomargan avatar May 30 '19 07:05 alessiomargan

Just noticed this myself.

Bklyn avatar Dec 13 '19 23:12 Bklyn

never mind

alessiomargan avatar Oct 05 '22 10:10 alessiomargan