title: How to save text in QLineEdits in PyQt even if the Widget gets closed?
body: <p>Hello I have made a GUI for my script using PyQt I have a couple of Line edit ands a couple of buttons </p>
  
  <p>(.....) = (self.(.....).text()) which I use that text for my script as a variable (but I don't think thats important to the question)  I want to be able to type text into the QLineEdits and for it to save so next time I open it the text will still be there   </p>
  
  <p>I use PyQt5 then I use Py-installer to make it into an app So I want to be able to save the text inside the QLineEdits and then when It closes for it be be saved there for next time I open it></p>
  
  <p>Ps. I am sharing this app with other people So I want it to save what that user puts in (they are putting in stuff that is custom to them like for example (name or something like that)</p>
  
  <p>Here is a sample of my pyqt5 code:</p>
  
  <p><a href="https://i.stack.imgur.com/yGmjH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yGmjH.png" alt="enter image description here"></a></p>