title: How to write a small Database in Python?
body: <p>I should write a small database in easy way using Python but without SQL or something like that. I have tried that with Class or Dictionary, but unfortunately without success.</p>
  
  <pre><code>class DUT(object):
      def __init__(self, id_number, dut, meas_time, end_time):
          self.id_number = id_number
          self.dut = dut
          self.meas_time = meas_time
          self.end_time = end_time
  
          T001 = DUT(001, "CAF01", 200, 300)
          T002 = DUT(002, "CAF02", 150, 600)
  </code></pre>
  
  <blockquote>
    <p>What I have to do ?</p>
  </blockquote>
  
  <p>I would the same things to create like in excel sheet on the picture. It should be possible to add new sample (DUT) with ID Number, DUT Name, Measurement Time and End Time.</p>
  
  <p>One should be able to add new sample, find/change/overwrite or delete the same. All should be automatised with for example one function or something like that.</p>
  
  <p><a href="https://i.stack.imgur.com/Mxq6k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mxq6k.png" alt="enter image description here"></a></p>