title: How to read HDF5 files in Python
body: <p>I am trying to read data from hdf5 file in Python. I can read the hdf5 file using <code>h5py</code>, but I cannot figure out how to access data within the file.</p>
  
  <h2>My code</h2>
  
  <pre><code>import h5py    
  import numpy as np    
  f1 = h5py.File(file_name,'r+')    
  </code></pre>
  
  <p>This works and the file is read. But how can I access data inside the file object <code>f1</code>?</p>