from yaml_parser import parse_datafile as parse class Player: """ This class intended to abstract out the actual yaml data into a player.(item) that is more friendly to handle in code. """ def __init__(self, save_location): self.save_location = save_location self.playerData = parse(save_location)