title: Creating multiple attributes and their name
body: <p>I'm new to Python and trying to create a class with multiple attributes.
  I would like to access the attributes like the following:</p>
  
  <pre><code>measured_dataset.date
  measured_dataset.temperature1
  measured_dataset.temperature2
  </code></pre>
  
  <p>The attributes <code>date</code>, <code>temperature1</code>, and <code>temperature2</code> will be variables with lists:</p>
  
  <pre><code>measured_date = [1,2,3]
  measured_dataset = dataset('date', measured_date)
  </code></pre>
  
  <p>I tried to create a class like:</p>
  
  <pre><code>class dataset :
  
      def __init__(self, name, value = []) :
  
          self.name = name
          self.parameter = parameter
  </code></pre>
  
  <p>But somehow I'm only able to create <code>measured_dataset.name</code>.</p>
  
  <p>How can I create what I want?</p>