adventofcode.util.input_helpers

Module Contents

Functions

get_input_for_day(year: int, day: int) → List[str]

Get the input for the year/day as list of strings

get_input_for_day_as_str(year: int, day: int) → str

_read_lines(file_name) → List[str]

Reads file to list of string

_get_input(file_name) → List[str]

Strips new lines from input file and returns it as list of string

_read_file(file_name) → str

Reads file to string

adventofcode.util.input_helpers.get_input_for_day(year: int, day: int) List[str]

Get the input for the year/day as list of strings

adventofcode.util.input_helpers.get_input_for_day_as_str(year: int, day: int) str
adventofcode.util.input_helpers._read_lines(file_name) List[str]

Reads file to list of string

adventofcode.util.input_helpers._get_input(file_name) List[str]

Strips new lines from input file and returns it as list of string

adventofcode.util.input_helpers._read_file(file_name) str

Reads file to string