Astropy

Astropy.IO

Read Fixed width table with headers

Example

txt.read('reflexmap.dat',Reader=txt.FixedWidth,delimiter=' ',data_start=0,names=('RA','Dec', 'expos','NH','FluxCon','SensLimit'))