I have a directory

```
* workingdir
  * raw_data
      * 2001
         - a.dat
         - b.dat
         - c.dat
      * 2002
         - d.dat
         - e.dat
         - f.data

       * 2003 etc.

```

How can I read these dat files into separate variables?

So far:

```
import os                 # Operating system interface
import glob               # For Unix style pathnames
import numpy as np        

workingdir = '/home/x/workingdir/'

#Directory for all raw data files
rawdatadir = os.path.abspath(os.path.join(os.getcwd(), os.path.pardir, "raw_data")) 

for root, dirs, files in os.walk(rawdatadir):
    for files in [f for f in files if f.endswith(".dat")]:
        print(os.path.join(rawdatadir, files))

But this is giving me

/home/x/workingdir/raw_data/a.dat
/home/x/workingdir/raw_data/b.dat

```

So, 

1. How can I get the full path of all the files
2. And import them (np.fromfile?)
3. Any "smarter" way to do this?

I come from an R/dataframe background and would prefer to mimic something near that.