Mar-14-2024, 04:22 PM
Dear deanhystad,
thanks a lot for your answer!
Second and third example works perfectly (for the first an error occurs...)
But I'm looking to be able to store strings in a list and keep it when the program ends or the pc is turned off.
Beside a text file or a dictionary I wasn't able to find something...
Perhaps I'm mistaken about dataclasses to keep data, because "common" classes can't store data.
Perhaps you could give me a hint...
thanks a lot for your answer!
Second and third example works perfectly (for the first an error occurs...)
But I'm looking to be able to store strings in a list and keep it when the program ends or the pc is turned off.
Beside a text file or a dictionary I wasn't able to find something...
Perhaps I'm mistaken about dataclasses to keep data, because "common" classes can't store data.
Perhaps you could give me a hint...