Pickle user inputs - Python 3 [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am pretty desperate, since I have tried to get this working in a long time. I'm making a text adventure where some user inputs choose the player's hp, dmg, you name it. I want to make a save function, but every time I load it, the player has default parameters. Example: class player: def __init__(self, hp, dmg